drunkeneye Posted January 11 Share Posted January 11 i would like to have as much free memory as possible, but still be able to load files from disk. so i tried to use xbios in madPascal. however, the program crashes, since xbios (using the default load adresse $0800) calls > 2 18 03DA:20 59 E4 JSR $E459 ;SIOV this seems like OS rom, but since i wanted to have as much free memory as possible, i turned OS off, so this jumps into memory and crashes. so what am i doing wrong? do i need to configure xbios somehow? i am using atari800macX as emulator, and have only one drive configured there. maybe i have a configuration error there that makes xbios call SIOV? or did i misunderstand XBIOS and it provides maximum ram only if no I/O is taking place? since i am a newbie, i really have no clue. can any help? find attached my minimal example (using macos/linux+make) xbios_example.zip Quote Link to comment Share on other sites More sharing options...
xxl Posted January 11 Share Posted January 11 23 minutes ago, drunkeneye said: do i need to configure xbios somehow? xB starts in a configuration that uses OS procedures, which means it will work with any device, but if you want xB not to use OS, you should execute the following immediately after starting the program: jsr xBIOS_SET_DEFAULT_DEVICE you can configure xBios in the configuration file or header of xB itself and you won't need that command there - but start with what I wrote above 1 Quote Link to comment Share on other sites More sharing options...
tebe Posted January 11 Share Posted January 11 https://github.com/tebe6502/Mad-Pascal/tree/master/blibs/examples/xbios 1 Quote Link to comment Share on other sites More sharing options...
drunkeneye Posted January 11 Author Share Posted January 11 3 hours ago, xxl said: xB starts in a configuration that uses OS procedures, which means it will work with any device, but if you want xB not to use OS, you should execute the following immediately after starting the program: jsr xBIOS_SET_DEFAULT_DEVICE you can configure xBios in the configuration file or header of xB itself and you won't need that command there - but start with what I wrote above that did the trick, perfect, thanks a lot!!! Quote Link to comment Share on other sites More sharing options...
xxl Posted January 11 Share Posted January 11 🙂 Show off your project - what will it be? Quote Link to comment Share on other sites More sharing options...
drunkeneye Posted January 11 Author Share Posted January 11 1 hour ago, xxl said: 🙂 Show off your project - what will it be? its a secret for now actually its nothing special, just a port of a c64 game written in basic. right now i do have problems with the map, and am unsure how i solve the problem, so expect some more questions here however, i will post the game and all sources on github when entering beta, so stay tuned Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.