Enhanced BASIC, update by Lee Davison
[Back]
Download version 1.05 source , binary or Motorola hex .
Just a small update. The addresses where values for HEX$() or BIN$() have been changed. This frees up two bytes in page zero and is this ...8th July 2002.
... becomes ...
nums_1 = $E0 ; number to bin/hex string convert MSB nums_2 = nums_1+1 ; number to bin/hex string convert nums_3 = nums_1+2 ; number to bin/hex string convert LSB
This is done in version 1.05.
nums_1 = Itempl ; number to bin/hex string convert MSB nums_2 = nums_1+1 ; number to bin/hex string convert nums_3 = nums_1+2 ; number to bin/hex string convert LSB
This is a re-write of the BIN$() and HEX$() functions. This frees up 8 bytes from page zero as well as being a little quicker. The downside is code length which is up slightly to 9600 bytes ($2580 bytes).Examples of the speed increase are ..
Cycle times for HEX$(57005) and BIN$(57005) Function Before After Saving HEX$() 686 cycles 465 cycles 221 cycles (110uS @ 2MHz - 32%) BIN$() 1700 cycles 1079 cycles 621 cycles (310uS @ 2MHz - 37%) The other change is that both binary and Motorola hex versions are also available for download.