Jump to content
  • 0
Larry Serflaten

DOS - device not present LOAD - OK ?

Question

Recently installed emulator (r38) on Win7.  I can load programs (.BAS, .PRG) but using the DOS command returns an error.  As does DOS"$" The command DOS"8" returns READY but the others still error.  Any suggestions what might fix the problem?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Thanks, trying to get up to speed quickly I did not see mention of the sdcard startup switch in the CX16 Programmer's Guide (DOS section) and thought the command should have worked as stated.  The README file has that info...

I am finding stand alone BAS and PRG files will load and run, but PRG files that use external (BIN) files do not work as expected.  I have them in a subdirectory under the CX16 directory.  Do you know if those programs need to be on a card image (mounted drive) to work properly? 

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, Larry Serflaten said:

Thanks, trying to get up to speed quickly I did not see mention of the sdcard startup switch in the CX16 Programmer's Guide (DOS section) and thought the command should have worked as stated.  The README file has that info...

I am finding stand alone BAS and PRG files will load and run, but PRG files that use external (BIN) files do not work as expected.  I have them in a subdirectory under the CX16 directory.  Do you know if those programs need to be on a card image (mounted drive) to work properly? 

All files either have to be in the same directory as emulator executable, or you run from within the directory of the program/bin files and call the emulator in its home area, like "..\..\x16emu.exe -prg blah.prg"  I think it's the same deal if you have them in a SD card image, but it sounds like you probably just want to run them from the host file system.

Share this post


Link to post
Share on other sites
  • 0

Thanks for your reply.  Its been years since I attempted using the command line so it took about an hour to get the right combination of switches and parameters.  I kept adding ,8 for the load_addr option thinking it was LOADing the file.

With all the BRIXX files extracted to a files/brix/ folder I would open a command window to that folder and try:  ..\..\x16emu brixx.prg, 8  All I got was the emulator switches list in the console window.  

For those looking for an easy solution, what I got working was a PLAY.BAT file in the same folder as all the extracted BRIXX files. Then in that batch file I have a one line command: ..\..\x16emu -prg BRIXX.PRG 

Launching (double clicking) that PLAY.BAT file sets the proper directory and loads the game into the emulator.  Then in the emulator, typing RUN will run the program.  I could not get the -run switch to work from the batch file, but this will suffice, rather than working in the console window!  Thanks again!

 

 

Edited by Larry Serflaten

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Please review our Terms of Use