Search results

  1. R

    BASIC, with Data in High RAM

    Gentleprogrammers, I have a LOT of raw data that is crowding out my BASIC RAM. I have about 500 lines of DATA statements, and after it's all read into an array, I have less than 6K RAM for the actual program. That's ridiculous, right? I think the obvious solution is to shove all that data...
  2. R

    My line numbering, label handling script

    It would be nice if I could figure out a way to direct-inject data from directives within the file...
  3. R

    My line numbering, label handling script

    I wanted a convenient script that made Commodore BASIC 2.0 easier for me. In particular, something that handles LABELS and figures out line numbers for me, in a manner similar to C64LIST. In short, C64LIST is sort of a transpiler: it lets you code BASIC with shortcuts, under the assumption that...
  4. R

    A text adventure game for the CX16

    Yes, subroutines with number blocks, yes. "Keeping track of the numbers offline" <-- a key element I had omitted. C64List does that... and more. Including labels, and managing "in-line" assembly. Very helpful.
  5. R

    A text adventure game for the CX16

    Same here... I've got a Traveller trader game, in BASIC, "half done". You can jump from system to system, you can buy and sell cargo. It has a nifty cheapo "window" system for viewing various data... But the crew don't actually do anything, and I only barely started on the combat engine. The...
  6. R

    A text adventure game for the CX16

    H'm... it would be nice to have a single-player Tradewars 2002-like game on the CX16... hmmmmmmmmmmm
  7. R

    Sprites, Sprites

    Okay, the VERA Programmer's Guide, under "Sprite attributes", coupled with the demo code from Github. Here I'll try to write in my own words, so to speak, at least as much as possible since this is registers for goodness' sake. There are 128 sprites, as we all know and are very excited about...
  8. R

    CX16 as IoT Device

    Granted. It's the principle of the thing.
  9. R

    Memory Map X16 (start address of basic source code)

    Huhmm... I think it must have an elementary one (which is all that's needed). I should get off my butt and look. Ah yes, there is one, and it even tells you where BASIC starts. https://github.com/commanderx16/x16-docs/blob/master/Commander%20X16%20Programmer's%20Reference%20Guide.md#memory-map
  10. R

    Sprites, Sprites

    Warning - stream of consciousness mode. So I was typing up yet another Traveller demo game in BASIC, when I realized that what I REALLY wanted to do was leverage the CX16's sprite capabilities. Otherwise I've just got Yet Another Text-based Program, and I want something that is more than that...
  11. R

    CX16 as IoT Device

    Perhaps the CX16 could be seen as an IoT device. Any thoughts about that? I know I had some thoughts about it, but my mind is currently blank, except I remember thinking "the CX16 could communicate with the world as an IoT device, since such things are expected to be severely resource...
  12. R

    Memory Map X16 (start address of basic source code)

    Does the emulator's docs on Git not have a memory map? (I thought they did, but it's been a month-plus since I looked at them...)
  13. R

    X16 Assembly Environment V0.70

    Great news! I look forward to trying it out.
  14. R

    Commander X16 FAQ (From David Murray on Facebook)

    I watched the price creep up over the holidays. And was kicking myself for not buying it early.
  15. R

    Testing the KERN*L

    Au contraire, if anything the practice is well worth the time.
  16. R

    Testing the KERN*L

    I'm testing out the r36 ROM, and started with RAMTAS. I start by randomizing the memory in pages 0, 2, and 3, then call RAMTAS and see what happens. Here's what I'm seeing. Plainly, the X16 KERN*L does some initialization that the C64 (for example) doesn't, by setting memory locations 0x2c4...
  17. R

    Reverse Engineered KERNAL?

    I'll check those projects out... literally and figuratively...
  18. R

    Reverse Engineered KERNAL?

    And in fact, Bruce has pointed me to Paul Scott Robson's several BASIC reimplementations for both the MEGA65 and the X16. I suspect he has useful insights.
  19. R

    Latest update video and what this means

    His mega-basic (https://github.com/paulscottrobson/mega-basic) fits into 16K, and is augmented. Since his basic-65 is "close to MS" in compatibility, I'd say it's closer to the 9K of CBM's MSBASIC. Sounds like he's an interpreters-in-assembly fool, with code for RPL, Forth, and his own Lean...
  20. R

    MS-BASIC-like Interpreter ... in C

    Two good ideas to look at. Thank you. Paul's solution in particular, but of course I'm always interested in C (that's Michael's code, isn't it?) Looks like Paul Robson is related somehow to the MEGA 65 project perhaps? His mega-basic interpreter looks to be portable between...