danwinslow Posted July 2, 2005 Share Posted July 2, 2005 I'd like to use atari800winplus in combination with cc65 to generate atari execuatbles and test them quickly. Is there a way to easily get an executable that cc65 has just created on the pc file system to be visible and runnable inside the emulator? The H: driver option for atari800winplus does not seem to work correctly. Quote Link to comment Share on other sites More sharing options...
gauntman Posted July 2, 2005 Share Posted July 2, 2005 Assuming that the output of cc65 is a true atari executable (one that could normally be run from the DOS "Run Binary" command), you should be able to use the command-line parameter: atari800Win.exe -run <file> I have this command set as a hot key in my editing environment, and it works well. If you are using cc65 with make files, I suppose you could even put it into the Makefile itself... Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted July 4, 2005 Share Posted July 4, 2005 Can you post up a small example program source set and the steps you are doing and I'll work out where you're going wrong? If your app requires DOS then the 'H:' drive approach is correct, otherwise for stand-alone EXEs the 'Load Executable' on the 'File' menu should suffice. CC65 produces the correct header, however if you are including multiple sections in your binary then you'll probably have to provide your own configuration script to the linker. Regards, Mark Quote Link to comment Share on other sites More sharing options...
danwinslow Posted July 4, 2005 Author Share Posted July 4, 2005 The H: drive setup doesn't seem to work. I turn on the patch, and choose a PC file folder, but I have a lot of trouble accessing files from it on the atari, ie., various errors such as 146 and 'file exists'. I have been using Sparta, I wonder if thats compatible with the H: driver. Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted July 4, 2005 Share Posted July 4, 2005 Hmm, the only trouble I had was remembering to tick off the 'read-only' setting in the 'Atari/Settings' menu. I haven't used SpartaDos too much so it could be that. 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.