Jump to content
IGNORED

LiteDOS 2.0


mr-atari

Recommended Posts

Just a small note here on AA.

 

LiteDOS 2.0 is ready for usage / testing.

Mayor parts have been rewritten.

Mostly to speed up DUP and to increase compatibility.

 

http://www.mr-atari.com/Mr.Atari/LiteDOS/

The only thing you need to format/init/update disks or partitions is the LiteINIT.XEX file.

 

(Atari OS with build-in LiteDOS included)

 

Grtz,

Sijmen.

 

>>

LiteDOS 2.0: Adding full DD-read and DD-write support... Optimizing code...
Completely rewritten the build-in DUP, bypassing CIO, resulting in higher IO-speeds.
Completely rewritten the DIR output format to "Atari standards".
Removed the limitation of cassette usage.
! Turbo-BASIC and it tools now work !
(As do other programs that rely on the correct DIR output format)

post-6668-0-57464900-1548498710.png

  • Like 25
Link to comment
Share on other sites

Just a small note here on AA.

 

LiteDOS 2.0 is ready for usage / testing.

Mayor parts have been rewritten.

Mostly to speed up DUP and to increase compatibility.

 

http://www.mr-atari.com/Mr.Atari/LiteDOS/

The only thing you need to format/init/update disks or partitions is the LiteINIT.XEX file.

 

(Atari OS with build-in LiteDOS included)

 

Grtz,

Sijmen.

 

>>

LiteDOS 2.0: Adding full DD-read and DD-write support... Optimizing code...
Completely rewritten the build-in DUP, bypassing CIO, resulting in higher IO-speeds.
Completely rewritten the DIR output format to "Atari standards".
Removed the limitation of cassette usage.
! Turbo-BASIC and it tools now work !
(As do other programs that rely on the correct DIR output format)

 

Is there any chance of an SDFS version of this?

Link to comment
Share on other sites

Can't get this to work properly... on boot i get the inversed '1' and enter gives an error. Can't list directories with the D command, error. D2 shows contents of disk 2, but shows garbled rubbish at the end. Have to boot several times to get something that works. It does boot FAST!!!! After some bugfixes this might be very interesting :)

Link to comment
Share on other sites

Can't get this to work properly... on boot i get the inversed '1' and enter gives an error. Can't list directories with the D command, error. D2 shows contents of disk 2, but shows garbled rubbish at the end. Have to boot several times to get something that works. It does boot FAST!!!! After some bugfixes this might be very interesting :)

 

Did you download 2.01 ?

If you did, tell me when you are running / emulating, so I can investigate.

 

I have 5 bytes to spare at the moment, so no room to implement extra complicated things.

LiteDOS will not exceed $700-$FFF usage.....

 

Booting is only 15 sectors, so yeah, that is fast.

Try an 400/800 that is super fast :-)

 

See here for some tech-info:

http://atariage.com/forums/topic/287449-small-memory-footprint-dos/?p=4208185

http://atariage.com/forums/topic/287449-small-memory-footprint-dos/?p=4210658

 

Grtz,

Sijmen.

Edited by mr-atari
  • Like 2
Link to comment
Share on other sites

Yes, it is 2.01. If i boot with OPTION pressed i get the title screen, with the reversed 1. See pic. No cursor, just '1'.

post-66363-0-04830700-1549029621_thumb.jpg

 

If you press enter, you get an error. I've pressed enter 3 times.

post-66363-0-05788500-1549029634_thumb.jpg

 

Then, if you press 'D' you don't get the listing of disk1 as the documentation suggests, just the free sectors.

Same for D1 and D1*.*. No content, just the nr of free sectors.

post-66363-0-53474800-1549029646_thumb.jpg

 

If you press D2*.* you DO get the contents of disk2, but... it gets garbled and shows rubbish at the end.

post-66363-0-75445900-1549029656_thumb.jpg

 

If i boot with BASIC, i get the litedos 2.01 title screen and the READY prompt. Enter DOS, and exactly the same effect as above from there.

Machine is a baremetal 64K 600XL.

Edited by jowi
Link to comment
Share on other sites

Hi!

 

Yes, it is 2.01. If i boot with OPTION pressed i get the title screen, with the reversed 1. See pic. No cursor, just '1'.

attachicon.gifIMG_2859.jpg

That is ok. It is the prompt saying to you that it is using drive #1.

 

If you press enter, you get an error. I've pressed enter 3 times.

attachicon.gifIMG_2861.jpg

Ok, you did not type any commands, so it replied with error.

 

Then, if you press 'D' you don't get the listing of disk1 as the documentation suggests, just the free sectors.

Same for D1 and D1*.*. No content, just the nr of free sectors.

attachicon.gifIMG_2862.jpg

Ok, because there are no files on that disk. So, you don't see anything, only the free sectors.

 

If you press D2*.* you DO get the contents of disk2, but... it gets garbled and shows rubbish at the end.

attachicon.gifIMG_2863.jpg

This is because your disk in D2 is not a LiteDOS disk, so it reads the files but show to you no free sectors and the hearts. Yo can't write to that disk, but you can read files from it.

 

To copy a file from D2 to D1, just after typing "D2" move the cursor over the file (for example, over "TEST1 SRC" and write over the blanks "C1", so it will read "C1TEST1 SRC 001" and press ENTER. Now, if you go to a blank line and type "D1" you will see your file.

Link to comment
Share on other sites

Ok, i understand. I find the reverse 1 as prompt confusing, also the fact an enter throws an error is counter-intuitive. An actual bad command should throw an error, not an empty return.

I understand litedos could read dos 2.0/2.5 floppies? So i don't understand the display of hearts etc? Gives the impression it can't read anything/locks up and just ends in showing garbage.

Link to comment
Share on other sites

Ok, i understand. I find the reverse 1 as prompt confusing, also the fact an enter throws an error is counter-intuitive. An actual bad command should throw an error, not an empty return.

I understand litedos could read dos 2.0/2.5 floppies? So i don't understand the display of hearts etc? Gives the impression it can't read anything/locks up and just ends in showing garbage.

The "one" is to see on what drive you are. typing D, just a helping hand.

In the previous versions, you just had a prompt, not knowing what default drive you are on.

When you have done D2, it changes to "two".

 

The freesectors message is not on a 2.0/2.5 disk (as it is on LiteDOS, to save RAM), so it sends out zeros/hearts.

I have no spare room to change this, so for now it stays this way.

Its merely a aesthetic bug, but the message must be shown, else turbo-basic compiler will refuse to work....

 

Removing <return> as error, I can do.

 

Grtz,

Sijmen.

Edited by mr-atari
  • Like 1
Link to comment
Share on other sites

Ok, i understand. I find the reverse 1 as prompt confusing, also the fact an enter throws an error is counter-intuitive. An actual bad command should throw an error, not an empty return.

I understand litedos could read dos 2.0/2.5 floppies? So i don't understand the display of hearts etc? Gives the impression it can't read anything/locks up and just ends in showing garbage.

 

I removed the hearts after the 000, zero file-space.

 

Pressing <return> now does the same as D, sending out DIR to the screen of the default drive.

 

Better?

 

Still 7 bytes free ;-)

post-6668-0-99925900-1549101169.png

  • Like 3
Link to comment
Share on other sites

 

I removed the hearts after the 000, zero file-space.

 

Pressing <return> now does the same as D, sending out DIR to the screen of the default drive.

 

Better?

 

Still 7 bytes free ;-)

Are you going to make this fix available to us users. I have checked the website but it still only has the 2.01 ..

Edited by rdea6
Link to comment
Share on other sites

Yes, In version 2.02

 

But I am out of space, so I need to re-think some routines or support.

Here is the current change-log, so you can prepare ;-)

 

Most likely I have it with me to Maarssen the 16th to show LiteDOS and PLATO on the Atari-Invasion.

 

Grtz,

Sijmen.

 

LiteDOS 2.0 © Mr.Atari 2019

Current version is 2.02, changes made to version 2.00
Fix:
Erase does not work on startup, ID-#2 is not set before any Dx command...
TurboBasic (others?) problems when D: is not Handler-ID $0F...
Problems on non-atari BIOS, A<>0 on return of SIOV...
ATARIDOS compatibility on SD,MD,DD diskettes.
Added/Changed:
Copy from/to the same drive, will move (defrag) the file to lower free sectors.
Better error-handling on write-errors.
Filename now has bit-1, to mark the file as "DOS2"-type.
File-ID added on disks with less then 1024 sectors (10bit sector-link), for ATARIDOS compatibility.
8% more file-space on Medium Density disk: 10bit sector-link, LiteDOS is booted from sectors 1024-1037.
Removed garbage output on Directory of non LiteDOS disks
Optimized:
Calculation of FILE-ID_MASK (saving 2 bytes)
Close on write re-using X (saves 2 bytes)
Changed "FreeSectors" to " FreeSectors" (saving 3 bytes)
Removed uncalled routine Check_VTOC in Seach_Dir (saving 4 bytes)
Free bytes:
-18, programm too large
Wish-list:
Instead of Error-17, return now performs DIR on the default-drive...
  • Like 6
Link to comment
Share on other sites

More testing before the 2.02 release...

 

Dos 2/2.5/Clones now can read files from LiteDOS disks or partitions with less the 1024 sectors.

MyDOS/clones can read files from larger disks/partitions using bit-2 of the filestatus.

 

I tested SDX 4.48 were I hacked/patched the test for the "Directory Type" accepting the negative values used in LiteDOS.

Now I can see the directory and load files.

Without this patch/hack, I get "148 Unknown file system"

 

So, it's up to SDX to support LiteDOS, read_only would be nice.

 

Back to coding, next release hopefully before next weekend.

 

Grtz,

Sijmen.

  • Like 9
Link to comment
Share on other sites

New version 2.02 (18-feb-2019) online.



Files are saved conform DOS 2/2.5 and/or MyDOS or clones.


Seems to work at my place.



Tested with:


SDX 4.49c/hacked to pass negative "Directory Type" as DOS 2.0 style.


MyDOS 4.53/4


DOS 2.5



Removed a bug that was present since day 1, displayed file-size was incorrect when >256.


Spotted another bug present since day 1, RENAME leaves garbage in the directory-sector, 8th file


I have that fixed in the next release.



Init of DD disks/partitions now create a boot-able system.



Turbo-BASIC with 38.5k Free memory included, compiled at $1000.



Homepage updated, SIO2WiFi moved to a separate page.



Thanks for the report/feedback.


:-)

  • Like 7
Link to comment
Share on other sites

I created a MyDos 30960 sector atr and then copy pasted the LITEDOS boot sectors to this Koapics.atr then used and emulator to create folders A to Z and copied D:A>*,2:A>* until I got to Z> then copied over working files for reading the KOALA pictures. The only basic file that will work is KOALITE.BAS all the com files should work okay.

 

KOAPICS.ATR

 

This ATR is not the best because the LITEINIT.XEX doesn't like to do MyDos files.

 

 

  • Like 2
Link to comment
Share on other sites

Version 2.03 now online.

 

http://www.mr-atari.com/Mr.Atari/LiteDOS/

 

8% more file-space on Medium Density disk, LiteDOS is booted from sectors 1,1024-1037.

 

Abuse/miss-usage of the update function fixed.

RENAME leaves garbage in the directory on the 8th file-name, fixed.

 

DUP:

<Return> on a occupied line = "load file"
<Return> on a empty line = "dir"

 

Many routines optimized to squeeze this new code into RAM below $1000.

5 bytes left, I don't expect that more optimizing will yield more room....

 

Enjoy.

  • Like 14
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...