tebe Posted April 12, 2020 Share Posted April 12, 2020 (edited) https://github.com/pfusik/numen/blob/master/dos.asx - installs the D: device like any other Atari DOS - loads the executable file AUTORUN at startup - supports the standard DOS 2 file system - the supported sector size (128 or 256 bytes) is determined at the xDOS compilation stage - xDOS allows you to read the file by D: - only one file can be read at a time, but it can be of any length - xDOS allows you to overwrite an existing file located in one sector - other operations like reading the directory, deleting, renaming etc. are not supported - xDOS fits entirely in the boot sectors - xDOS does not set MEMLO, but it only takes up $0700 .. $097F - xDOS does not disable the ROM during transmission example 'slideshow.pas' loads MIC, PIC xDos.7z Edited April 12, 2020 by tebe 9 Quote Link to comment Share on other sites More sharing options...
xxl Posted April 12, 2020 Share Posted April 12, 2020 (edited) xBOOT DOS version - installs the ? device like any other Atari DOS - loads the executable file AUTORUN at startup - supports the standard extended (MyDOS etc.) DOS 2 file system - the supported sector size (128 or 256 bytes) at once is determined at the xDOS compilation stage - allows you to read the file by D: - only one file can be read at a time, but it can be of any length - allows you to overwrite an existing file located in one sector - other operations like reading the directory, deleting, renaming etc. are not supported - fits entirely in the boot sectors - does not set MEMLO, but it only takes up $0700 .. $097F $480 .. $6ff - does not disable the ROM during transmission xBootDOS.obx Edited April 12, 2020 by xxl Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted April 12, 2020 Share Posted April 12, 2020 Well, to write xDOS into the bootsectors of a diskette one requires a PC and the program DIR2ATR. Would be nice, if there's also an A8 program to write xDOS into the bootsectors (or an xDOS creator program that does this)... Besides, xDOS was/is not a good name, since there already was/is XDOS by Stefan Dorndorf... 2 Quote Link to comment Share on other sites More sharing options...
xxl Posted April 12, 2020 Share Posted April 12, 2020 xBOOT DOS version initializer xBOOT_Initializer(DOS).xex Quote Link to comment Share on other sites More sharing options...
tebe Posted April 12, 2020 Author Share Posted April 12, 2020 xBootDOS example 'slideshow.pas' work fine with xDOS and any other DOS, does not work with xBootDOS example_xBootDOS.zip Quote Link to comment Share on other sites More sharing options...
xxl Posted April 12, 2020 Share Posted April 12, 2020 right ($480 is too low for "DOS"), now fixed: xBOOT Dos: $700 - $93B xBOOT_Initializer(DOS).xex xBootDOS.obx 1 Quote Link to comment Share on other sites More sharing options...
tebe Posted April 13, 2020 Author Share Posted April 13, 2020 much better example_xBootDos_2.zip Quote Link to comment Share on other sites More sharing options...
tschak909 Posted April 14, 2020 Share Posted April 14, 2020 I see what this is, am curious as to the intended use-case? -Thom Quote Link to comment Share on other sites More sharing options...
xxl Posted April 15, 2020 Share Posted April 15, 2020 shorter and better version: - set MEMLO to $937 xBOOTDos.obx xBOOT_Initializer(DOS).xex Quote Link to comment Share on other sites More sharing options...
tane Posted July 7, 2020 Share Posted July 7, 2020 On 4/14/2020 at 12:23 PM, tschak909 said: see what this is, am curious as to the intended use-case? I deduce and understand the following: It's a low-memory auto-boot loader for ATR disk files, in comparison with standard DOS disks. Usually an ATR requires a DOS that uses a range of memory: $0700 - $1FFF xDOS uses $0700 - $937, so you can start using the memory from $938. It loads any xex renamed to "AUTORUN". It's a bit tricky to create a new disk: You should start with a standard DOS disk, then insert and rename the xBOOT_Initializer(DOS).xex to "AUTORUN.SYS" with AtrUtil . Then start the ATR in Altirra, with read/write (R/W) disk set, that's were the disk is created with xDos. Then with AtrUtil you can delete all files inside, and then insert the required file renamed to AUTORUN. Here are 2 disk already created: 90kb and 180kb. Just replace AUTORUN with a new xex with AtrUtil. Now, if you don't know in what situation you would require to use the extra memory range from $938 to $1FFF, this topic is not for you (yet) ?. (If there is something wrong in the assumptions, please correct it). Disk example with river raid - 90kb.atr Disk example with river raid - 180kb.atr Quote Link to comment Share on other sites More sharing options...
tschak909 Posted July 8, 2020 Share Posted July 8, 2020 sigh. I wanted to hear it from @xxl and @tebe ... -Thom Quote Link to comment Share on other sites More sharing options...
shanti77 Posted July 8, 2020 Share Posted July 8, 2020 9 hours ago, tane said: It's a bit tricky to create a new disk: You should start with a standard DOS disk, then insert and rename the xBOOT_Initializer(DOS).xex to "AUTORUN.SYS" with AtrUtil . Then start the ATR in Altirra, with read/write (R/W) disk set, that's were the disk is created with xDos. Then with AtrUtil you can delete all files inside, and then insert the required file renamed to AUTORUN dir2atr -md -B xbootdos.obx atrfile.atr directory Quote Link to comment Share on other sites More sharing options...
xxl Posted July 8, 2020 Share Posted July 8, 2020 https://xxl.atari.pl/xbootdos/ Quote Link to comment Share on other sites More sharing options...
Atlan_Roland Posted June 30, 2021 Share Posted June 30, 2021 Hi xxl, i'm using xBootDOS - i appreciate the low MEMLO - for a project i'm writing in Mad Pascal; but i'm now at the limited of the 180k available on a DD disk for the data used. Question: Is it possible to read data from a second disk with xboot dos (by disk swapping)? A short test i did was not successful. (I guess because - as you state on your website - directory reading is not an implemented feature of xBootDOS?) Quote Link to comment Share on other sites More sharing options...
xxl Posted June 30, 2021 Share Posted June 30, 2021 2 minutes ago, Atlan_Roland said: Question: Is it possible to read data from a second disk with xboot dos (by disk swapping)? A short test i did was not successful. (I guess because - as you state on your website - directory reading is not an implemented feature of xBootDOS?) should work properly - send me a problematic ATR and I will check what is going on. Quote Link to comment Share on other sites More sharing options...
xxl Posted July 1, 2021 Share Posted July 1, 2021 maybe you mean this: 4 - read 8 - write 6 - read direcotory (THIS) OPEN # 1,6,0, "D1: *. *" in that sense, reading a directory will not work. but if any of the boot sector DOS can do it, I would love to see it ? Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted July 1, 2021 Share Posted July 1, 2021 hmmm... are those similar to Fox' loader used in Numen? Quote Link to comment Share on other sites More sharing options...
xxl Posted July 1, 2021 Share Posted July 1, 2021 (edited) yes, but there are some important differences, e.g. xBDOS configures itself to the appropriate density, while Fox DOS at compile time, xBDOS recognizes all DOS2 formats, eg BIBO, TOP, MyDOS, DOS2.5 - xDOS Fox does not. xBDOS can write files of various sizes, while Fox's xDOS can only write files of one sector size xBDOS has the BinaryLoad function, but after reworking the xDOS Fox, it probably has BLoad as well, you can add SPECIAL commands to xBDOS, e.g. there is an example with NOTE and POINT. xBDOS has autostart for BASIC programs (write a BASIC program to disk and after BOOT it will start by itself - you do not need any additional programs) this is not an objection to Fox's xDOS, it was just made much earlier and for a specific purpose. Edited July 1, 2021 by xxl Quote Link to comment Share on other sites More sharing options...
Atlan_Roland Posted July 1, 2021 Share Posted July 1, 2021 ok, sorry for the fuss: it must have been a trivial error on my side - the batch script that places the files onto the ATR images .. placed them wrong ? did some more testing today and my multi disk setup works great! you're the best, XXL! thank you for xBootDOS! Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted July 1, 2021 Share Posted July 1, 2021 4 hours ago, xxl said: yes, but there are some important differences, e.g. xBDOS configures itself to the appropriate density, while Fox DOS at compile time, xBDOS recognizes all DOS2 formats, eg BIBO, TOP, MyDOS, DOS2.5 - xDOS Fox does not. xBDOS can write files of various sizes, while Fox's xDOS can only write files of one sector size xBDOS has the BinaryLoad function, but after reworking the xDOS Fox, it probably has BLoad as well, you can add SPECIAL commands to xBDOS, e.g. there is an example with NOTE and POINT. xBDOS has autostart for BASIC programs (write a BASIC program to disk and after BOOT it will start by itself - you do not need any additional programs) this is not an objection to Fox's xDOS, it was just made much earlier and for a specific purpose. Yeah I know that Fox did a base loader for Numen and not for general purpose but was just curious to know. Quote Link to comment Share on other sites More sharing options...
Atlan_Roland Posted March 12 Share Posted March 12 Would it be possible to reference a second disk drive with xBootDos? Like: XIO(40,1,0,0,'D2:CITY.XEX'); //Mad Pascal { that's the MP procedure interface: procedure XIO(cmd, chn, ax1, ax2: byte; device: PString); assembler; (* @description: Special command @param: cmd - command @param: chn - channel 0..7 @param: ax1 - parameter @param: ax2 - parameter @param: device - name of device, example "S2:" *) } Had no luck acessing a second drive, the XIO command always references the file on D(1): Quote Link to comment Share on other sites More sharing options...
xxl Posted March 12 Share Posted March 12 set the device number before referring to the proc: lda #$02 ; D2 sta $301 ; DUNIT I would do that... 1 2 Quote Link to comment Share on other sites More sharing options...
Atlan_Roland Posted March 14 Share Posted March 14 Yes, that works! Thank you very much Quote Link to comment Share on other sites More sharing options...
LessNick Posted July 23 Share Posted July 23 Hello there o/ I got a live XF351 floppy disk drive and I wanted to test how xBOOT Loader would boot from it, namely whether the increased speed would be supported. I took a diskette with MyDOS 4.53/1 from the kit, made a duplicate and tried to initialize it using “xBOOT_Initializer(DOS).xex”. The system thought for a long time, and then returned error 144. I have a suspicion that the initializer did not like the format of the diskette because it is DS/DD and much larger than the usual 90/180kb Quote Link to comment Share on other sites More sharing options...
xxl Posted July 24 Share Posted July 24 23 hours ago, LessNick said: I have a suspicion that the initializer did not like the format of the diskette because it is DS/DD and much larger than the usual 90/180kb NO. supports any size and density. post this image so I can take a look. 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.