flashjazzcat Posted August 12, 2022 Share Posted August 12, 2022 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. 1 Quote Link to comment Share on other sites More sharing options...
rdefabri Posted October 4, 2022 Share Posted October 4, 2022 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? Quote Link to comment Share on other sites More sharing options...
BillC Posted October 4, 2022 Share Posted October 4, 2022 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. Quote Link to comment Share on other sites More sharing options...
phaeron Posted October 4, 2022 Share Posted October 4, 2022 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. 2 Quote Link to comment Share on other sites More sharing options...
rdefabri Posted October 4, 2022 Share Posted October 4, 2022 5 minutes ago, phaeron said: 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. That worked - thanks! 1 Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted October 4, 2022 Share Posted October 4, 2022 51 minutes ago, rdefabri said: That worked - thanks! But can you trust that Phaeron guy, does he know what he's talking about? 2 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.