Jump to content

sanny

Members
  • Posts

    713
  • Joined

  • Last visited

Everything posted by sanny

  1. I think the tape counters are specific to each tape drive. You might get into the ball park of your data with similar numbers, but expect some offset. Use a smaller counter on a foreign drive.
  2. I'm using Emacs to edit the files. And compile my program by typing "make" in another window. Needs a Makefile. When starting to code, often use <cursor-up> in the shell window to re-run cl65....
  3. How is this related to "Atari 5200 / 8-bit Programming"? I don't see any source code here.
  4. With the danger that I'm sounding a bit school master like, there's a difference between extern char *blah; and extern char blah[]; Since arrays are treated as pointers in C one might think these are the same. But no. The former defines a variable in memory which points to the real "blah" (and contains its address). The latter is just the address of "blah" without the additional pointer indirection. regards, chris
  5. Sorry @Wrathchild, I somehow missed your answer
  6. You should use '"extern char bank[]" to match the definition.
  7. Can't you provide a stripped down example program which shows the problem? Would help more, instead of sticking in the dark
  8. "fails badly" is not an exact description of the problem. Mixing -t parameter and library to link with is definitely not a supported scenario.
  9. What happens? You know, "atarixl" target is different to "atari" target? You compile with -t atarixl, but then link with atari.lib (not atarixl.lib) See documentation about the differences btw atari and atarixl. https://cc65.github.io/doc/atari.html
  10. > Maybe make a cutdown example? The cfg, link.asm, and batch files don't help much without the failing code....
  11. > So it seems if you compile code to reside in separate areas, you have to "tweak" the code for it to work. That shouldn't be. Can you provide a complete example?
  12. > my Win11/64 laptop crashes upon program start Cool. So you have to reboot?
  13. Where can I find the Ada source code without installing Alire?
  14. Not a good excuse 🙂 I'm in PAL-land, too, but own a 5200.
  15. bpl ist also handy for loops < 128 ldx #loopcount # below 128 loop: <do something with x> dex bpl loop
  16. Don't feed the troll. Seriously, although I'm guilty myself in this regard.
  17. And, yes, Appel DOS 3.3 is in no way similar to MS-DOS 3.3
  18. Open the "P:" device as was told you before and write to it. Where's the problem?
×
×
  • Create New...