ShawnDriscoll
SOC-14 1K
only needs 1 byte per code as is.
Also, C64 BASIC (I somehow doubt Rob's using ASM) doesn't handle Int32; it limits to sInt16, with no provision for uInt16. Strings are 1 byte length and the content bytes in PETSCII. Floats are a 1 byte exponent and 4 byte mantissa
Floats are very memory lossy, especially given 38 KB functional memory; one is better off using an int with 0-32 + (0-32*32) (12/16 bits) or (0-16)+(0-16*16)+(0-16*256) (15/16 bits), both fitting into a 2 byte memory word, as opposed to a 5 byte float; the 5 byte float is 1 byte longer than 2 ints, for the same data in the 5 bit wordspace.
Strings are somewhat better, but typecasting is absent, and bitwise operations are a pain, so...
6502/6510 stuff. Ugh.