15 votes

Positive/negative 16-bit integer formats in 8-bit systems?

In real machines with two's complement representation, there's only one integer format. The decision of whether 0xffff means -1 or 65535 is dependent on the use it's put to. Output code needs to ...
user avatar
  • 27.6k
12 votes
Accepted

Odd tokenizing in Integer BASIC

It does not appear it saves times or memory in either the encode or decode, but maybe I'm missing something? Well, it kind of simplify decoding. The values $B0..$B9 are exactly what's uses to mark up ...
user avatar
  • 166k
12 votes
Accepted

Using Integer Basic on Apple II Plus without a Language Card?

TL;DR; Was it possible to load integer basic and use it without a language card No, at least not as an official Apple product. DOS 3.3 only supplied an Integer BASIC image to be loaded into Language ...
user avatar
  • 166k
10 votes

How were binary subroutines embedded in Integer BASIC programs?

In this Integer BASIC disassembly, 202/203 ($CA/$CB) is PP - "ptr: start of program". It looks like they're changing the "start of program" location, then re-running it by doing a GOTO 0. My guess is ...
user avatar
  • 967
10 votes

Positive/negative 16-bit integer formats in 8-bit systems?

→ Does anyone know of an 8-bit era system that did this? Integer BASIC exists to be very small, just fast enough to develop games on, and out in time for the Apple launch. Syntax niceties would make ...
user avatar
  • 17.1k
10 votes
Accepted

Extensions to Apple BASIC with ampersands

After a bit of research, it turns out it was Applesoft. The interpreter had a feature where, if it encountered an ampersand during execution of the program, it would unconditionally jump to a ...
user avatar
  • 2,386
9 votes

How to make a maximally compatible Integer BASIC (Apple II) game disk for the Internet Archive?

Is there some way to easily set up a disk to boot an Integer Basic program regardless of Apple II? Only if that Apple is equipped with a language card, as DOS can quite well simply run an Integer ...
user avatar
  • 166k
9 votes

How were binary subroutines embedded in Integer BASIC programs?

Generally, this involves some very careful work, where you overwrite part of the tokenized BASIC program with the binary data, or add the binary data to the tokenized BASIC code while carefully ...
user avatar
8 votes

Did the Apple II Integer BASIC use SWEET16?

Essentially various sides of the same reason: SWEET16 came too late. Incorporating it into Integer BASIC would have postponed the ROM production further. Integer BASIC was working as is, doing a ...
user avatar
  • 166k
8 votes

How were binary subroutines embedded in Integer BASIC programs?

The technique that zellyn describes above for having the Monitor process a command from the input buffer was, as he said, devised for Applesoft. In fact, one of its crucial elements is specific to ...
user avatar
  • 133
7 votes

Positive/negative 16-bit integer formats in 8-bit systems?

Does anyone know of an 8-bit era system that did this? No, at least not the way the question proposes, which is essentially turning 16 bit values into 17 bit. Something no (BASIC) system supports. ...
user avatar
  • 166k
6 votes

Extensions to Apple BASIC with ampersands

While paxdiablo answered the question confirming that it was AppleSoft, I can point out three things related to it as an extension: When you load your extension, it should attempt to relocate itself ...
user avatar
  • 14.1k
5 votes

How to make a maximally compatible Integer BASIC (Apple II) game disk for the Internet Archive?

To make a disk that starts up directly into an Integer BASIC program on a system with Applesoft in ROM and a language card (][+, //e, etc), do this: Make a copy of the DOS 3.3 System Master disk. ...
user avatar
  • 7,421
5 votes

Positive/negative 16-bit integer formats in 8-bit systems?

As far as I understand your question, I guess the ZX Spectrum BASIC could be an answer: it stores all numbers in 5-byte format, FPs as well as integers (see more here). This BASIC could store unsigned ...
user avatar
  • 5,152
3 votes

Positive/negative 16-bit integer formats in 8-bit systems?

BBC BASIC, one of the later and more powerful microcomputer BASICs, supported both 40-bit floating point and 32-bit signed integers. Variables in the latter format had a % suffix, analogous to the $ ...
user avatar
  • 16k
2 votes

Using Integer Basic on Apple II Plus without a Language Card?

It was, in fact possible to load Integer BASIC into RAM without the Language Card, and without purchasing a modified variant. Back in the day there was a magazine article (Creative Computing, Byte, ...
user avatar
  • 21
2 votes

Using Integer Basic on Apple II Plus without a Language Card?

Integer BASIC as shipped by Apple in the original ROMs or on DOS diskettes was intended only to run at address E000 to F7FF. On the original Apple II this was ROM which held Integer BASIC. With the ...
user avatar
  • 9,396
1 vote

How were binary subroutines embedded in Integer BASIC programs?

Bob Bishop helped us with a Machine Control program using the Apple ][ as a Machine Controller with GREAT Graphics. Late '70 and early 80's He showed me the trick where you insert the Machine Code in ...
user avatar
  • 11
1 vote

How were binary subroutines embedded in Integer BASIC programs?

I can't speak directly to Apple Integer BASIC, but I know that TRS-80 BASIC programs could encode machine language in DATA statements (as in Leo Christopherson's Android NIM) or even in literal ...
user avatar
  • 2,676

Only top scored, non community-wiki answers of a minimum length are eligible