Jump to content

sanny

Members
  • Posts

    712
  • Joined

  • Last visited

Everything posted by sanny

  1. Whether a tape or a disk, doesn't make much difference to the computer. I've never seen such a thing back then. Maybe we find more software on 8-track tape? ?
  2. Hmm. IDK. The CC65 runtime lib returns the return value in A after calling `main()`. Could be that SpartaDOS is using it.
  3. > CC65 has a limited concept of the default device. It expects a drive under the "D:" handler. If your command interpreter is on an "H:" device or a FujiNet network device, for example, it still won't work as expected. I know. It's on my TODO list. Also, SpartaDOS devices which have the colon after the third character aren't recognized.
  4. If you use `open()` CC65 does prepend Dn: to the file name. Edit: I see. You are talking about `getcwd()`, aren't you? Yes, there is no such thing. SpartaDOS should use the current drive.
  5. thanks! I was under the impression that it's "lost", since I couldn't find it.
  6. It seems that the program was developed when OS/A was the ROM code. Since it comes from MIT (AFAIU), I guess they had NTSC machines. The OS/A version for NTSC appears to be lost. ?
  7. I now got your display with the flickering on the left side. I didn't remember what I did do when it worked, but yes, I had disabled the SIO patch. Now it works again. You can disable the SIO patch with "-nopatch" on the command line.
  8. Hmm, I have just these lines (atari800 isn't completely set up on this machine): ROM_OS_BB01R2=/home/chris/atari/atarixl.rom ROM_5200=/home/chris/atari/5200.rom ROM_BASIC_C=/home/chris/atari/ataribas.rom ROM_400/800_CUSTOM=/home/chris/atari/atariosb.rom MACHINE_TYPE=Atari XL/XE I think MACHINE_TYPE just specifies the default. $ md5sum /home/chris/atari/atariosb.rom /home/chris/atari/ataribas.rom a3e8d617c95d08031fe1b20d541434b2 /home/chris/atari/atariosb.rom 0bac0c6a50104045d902df4503a4c30b /home/chris/atari/ataribas.rom
  9. It seems to work for me: I've used DOS 2.0s. Start atari800 like this $ atari800.x11 -atari -ntsc -basic -rdevice -H1 . ~/some/where/dos20s-test.atr In the current directory (H1:) I've placed the chameleon.exe file, renamed to CHAM.COM. When the Atari starts up, type DOS (leave BASIC) L H:CHAM.COM M 6007
  10. If supdup.lst is the source code, the entry point to the program appears to be $6007, not $6000.
  11. I've adapted the source code to CC65's assembler, CA65. MAKE STAR RAIDERS CA65.zip
  12. What exactly is the relevance wrt "programming"?
  13. You can call _getdefdev() to find the "default" device. Prepend this to the result of getcwd() to get a fully qualified path name.
  14. Works for me: $ cat tgetcwd.c #include <stdio.h> #include <unistd.h> #define BUFSZ 256 char pathbuf[BUFSZ]; int main(void) { char *s = getcwd(pathbuf, BUFSZ); if (! s) { perror("getcwd error: "); return 1; } puts(pathbuf); return 0; } $ $ cl65 -tatari tgetcwd.c -o TGETCWD.COM $ atari800.basic sdos33-test.atr Using Atari800 config file: /data/home/chris/.atari800.cfg Created by Atari 800 Emulator, Version 3.1.0 SpartaDOS Ver 3.2f 25-Feb-94 Copyright (C) 1994 by FTe D1:CWD TEST D1:?DIR >TEST D1:D1:>TGETCWD.COM >TEST D1:
  15. just use that for linking: ld65 -C atarixl_memx01.cfg -o memxtest.xex crt0.o test.o m.lib ..\lib_cfg\auxmematari.lib atarixl.lib or cl65 -t atarixl -C atarixl_memx01.cfg -o memxtest.xex test.o m.lib ..\lib_cfg\auxmematari.lib
  16. you are doing something wrong (tm) and one should never ever link with both atari.lib and atarixl.lib maybe we can help if you give the whole project
  17. __RESERVED_MEMORY__ is not used in the atarixl target. One reserves memory there by using a higher start address. __SYSCHK_LOAD__ should be defined. You have SYSCHK: load = SYSCHKCHNK, type = rw, define = yes, optional = yes; in your config file.
  18. The XE's expanded memory is not linear 64K, but 4 (or more if expanded) banks of 16K at 0x4000.
  19. What do you want to do with this MEMXM memory area?
  20. you shouldn't need atari.lib if you compile -t atarixl
  21. I think the Amiga, if no floppy is in the drive, permanently checks every few seconds of a floppy was inserted. Gives an annoying sound every few seconds. Whereas the ST leaves the drive alone unless it's accessed on purpose.
×
×
  • Create New...