hoglet67 / PiTubeDirect

Bare-metal Raspberry Pi project that attaches to the Acorn TUBE interface and emulates many BBC Micro Co Processors
GNU General Public License v3.0
187 stars 23 forks source link

Are spaces valid in SWIs ? #144

Closed dp111 closed 2 years ago

dp111 commented 2 years ago

In tube-swi.c tube_SWI_NumberFromString are spaces valid ? if not then we should be using ">" instead of ">=".

hoglet67 commented 2 years ago

This is the behaviour I see on RISCOS 3.1 in Arculator: Screenshot from 2021-12-17 12-18-15

So it looks like space is treated as a valid terminator, rather than as a valid character.

I'll update the code to use >