Jump to content
IGNORED

Altirra question - Saving to Hard Drive


KCMO

Recommended Posts

14 minutes ago, TGB1718 said:

've never been able to get the "H" device to work, it's mapped to a folder on my PC, but always says

D5:>DIR H:

138 Device does not respond

See the SDX documentation. This is because the SDX CLI uses kernel drive IDs (as per drive letters in MS-DOS, etc) instead of CIO device names. You're trying to get a directory on drive 'D8:'.

 

This design makes it impossible to directly reference CIO device handlers via their one letter ID from the SDX command prompt.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
5 minutes ago, rdefabri said:

I can't seem to load files I save.  If doing something in BASIC, should the extension be xxx.BAS? or should it be xxx.ATR?

 

When I try to load (either LOAD"H6:TEST.BAS" or from Boot Image) I get error 21.  Any idea why?

You need to boot a DOS in order to load/save files in BASIC, the DOS would usually be booted from an ATR configured as D1: but could also be a SpartaDOS_X cartridge.

The extension for BASIC files is usually .BAS, but could also be .LST or similar if LIST "D1:FILENAME.LST" was used instead of SAVE "D1:FILENAME.BAS" when the file was created.

Link to comment
Share on other sites

12 minutes ago, rdefabri said:

I can't seem to load files I save.  If doing something in BASIC, should the extension be xxx.BAS? or should it be xxx.ATR?

 

When I try to load (either LOAD"H6:TEST.BAS" or from Boot Image) I get error 21.  Any idea why?

H6: has line ending translation enabled, which breaks BASIC programs saved in binary with SAVE. Use H1-H4: with LOAD/SAVE and H6-H9: with LIST/ENTER.

  • Like 2
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...