Csaba Fekete

Results 46 comments of Csaba Fekete

Nice catch. This shows how poorly XC=BASIC was tested for the PET. The scan routine was designed for the C64 but does not work on the PET. The correct routine...

...actually the coolest solution would be to include predefined constants for every target, so that coders wouldn't have to look up scan codes in the table at all. For example:...

> While changing the code in [my local copy of] _keyboard.asm I noticed a superfluous ENDIF [in line 81](https://github.com/neilsf/xc-basic3/blob/5ef9ba2766ca0aa34a0724bce04281a581d40d56/lib/io/_keyboard.asm#L81) that I also removed without changes to the resulting machine code....

> I thought it might be possible to evaluate a target by code somehow. XC=BASIC does not provide any kind of preprocessing (yet?), but you can use a generic preprocessor...

Awesome job, thank you. I'll add this to version 3.2.0.

Yeah it looks like bug. I could reproduce it with this example: ```` DIM s$ AS STRING * 1 s$ = "e" SELECT CASE s$ CASE "e" PRINT "it works"...