[Coco] BASIC09 - unsigned INTEGERs?
Robert Gault
robert.gault at att.net
Sat Jan 31 09:43:36 EST 2015
Allen Huffman wrote:
> In BASIC09, I am trying to use SYSCALL to get the size of a file. It returns with values in regs.X and regs.Y, which I would like to put together to make the actual file size.
>
><snip>
Well you could try defining BYTE variables and then split reg.X and reg.U into
corresponding nibbles. Then PRINT USING "h2",a;b;c;d will show the value
returned by the syscall.
Robert
More information about the Coco
mailing list