Jump to content
prysm1

litedos second edition same drive copy

Recommended Posts

Latest build now online.

(23-october-2021)
LiteDOS.DUP when copying from/to the same drive it asks for source/target disks.

This was already in the code, but I forgot to output the question to the screen.

;-)

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Just in case nobody noticed;

 

LiteDOS-SE can boot over a 19k2 BT-connection on a stock machine.

No need for replacing the OS or other soldering/modifications.

 

And yes, -SE stands for Second Edition.

The 1024 bit cluster-table gives room to 1000 files on a 16mb partition .

 

 

Edited by mr-atari
  • Like 1

Share this post


Link to post
Share on other sites

@mr-atari

 

I noticed that the SE version's disk format is apparently not the same as in the example disk images you submitted some time ago to us to get the read support implemented in SDX's ATARIDOS.SYS. Does this mean that the old format is abandoned and support for it should get removed?

Share this post


Link to post
Share on other sites

You can still read LiteDOS disks as discussed.

Since write-support is not supported in ATARIDOS.SYS, nothing changed in that respect.

I guess.

 

Some tech-info:

The ID-byte -SE (sector 360, byte 0), bit 7=0 and bit 6=1.

The rest of this byte is the cluster-size (1-64 sectors/cluster).

Directory-size equals 2 times the cluster-size to match things up with previous versions.

Also starting on sector 361 until the end of the cluster, then wraps to the beginning.

Further more:

Sector 360 is more DOS 2 like, bitmap starts on byte 10, byte 1-4 reflect size and free space, byte 5-9 are zero.

 

I had plans to support writing to DOS 2 and compatible formats, but canceled this on release.

I do not want to f*ck up other format disks...

 

But LITEINIT can/does convert any LiteDOS to LiteDOS-SE

 

Grtz,

Sijmen.

Edited by mr-atari

Share this post


Link to post
Share on other sites
7 hours ago, mr-atari said:

You can still read LiteDOS disks as discussed.

Since write-support is not supported in ATARIDOS.SYS, nothing changed in that respect.

Something changed, though: I was getting bug reports about false positives in identifying disks as LiteDOS format which were not. That is hardly surprising, because just only one byte, which additionally can show values anywhere from $41 to $7F, is hardly enough to identify the format.

 

Just bear in mind that not the entire world consists of AtariDOS II format. In nearly any other disk format (SDFS, FATFS, CPMFS, Atari DOS 3) sector 360 is a data sector and can contain anything. In AtariDOS 4 the first byte equal to $43 in sector 360 identifies the disk as double sided. Similarly for innumerable bootable whole-disk programs and demos.

 

Thus to avoid falsely positive identifications, I had to extend the check to further bytes of VTOC, where the text "LiteDOS" was present. But in new format it is missing. So the SE version does not provide any certain method to identify its format for sure, and in the current state of affairs it only increases ATARIDOS.SYS's susceptibility to recognize disks which it should not recognize.

 

Edited by drac030
  • Like 2

Share this post


Link to post
Share on other sites

It's just a small DOS version, mate. No high-tech multi-purpose OS.

Sector 360 is as described above, perhaps you can use byte 5-9 ?

[edit] or word on byte 1,2 is larger then word on byte 3,4

[edit] ID-values are $40-$7F

I used the Atari Tech Manual as template and DOS 2/2.5 is the most used.

 

For the other question I had:

I do have an LiteDOS-XS upcoming in -SE format.

🙂

It was almost ready back in May, but left it to do other things.

I will review the code and make it ready for upload.

 

Atari BASIC:

image.png.b05927e3896dfae29ee82711e4c88cf8.png

Edited by mr-atari

Share this post


Link to post
Share on other sites
5 hours ago, mr-atari said:

It's just a small DOS version, mate. No high-tech multi-purpose OS.

Man, I do not care what it is or what it is not. It is you who wants support in ATARIDOS.SYS, so it is your problem, not mine, to make the format reliably detectable among everything else.

  • Like 1
  • Sad 1

Share this post


Link to post
Share on other sites
8 hours ago, mr-atari said:

It's just a small DOS version, mate. No high-tech multi-purpose OS.

Sector 360 is as described above, perhaps you can use byte 5-9 ?

[edit] or word on byte 1,2 is larger then word on byte 3,4

[edit] ID-values are $40-$7F

I used the Atari Tech Manual as template and DOS 2/2.5 is the most used.

 

For the other question I had:

I do have an LiteDOS-XS upcoming in -SE format.

🙂

It was almost ready back in May, but left it to do other things.

I will review the code and make it ready for upload.

 

Atari BASIC:

image.png.b05927e3896dfae29ee82711e4c88cf8.png

i want :)

Share this post


Link to post
Share on other sites
8 hours ago, mr-atari said:

Sector 360 is as described above, perhaps you can use byte 5-9 ?

Why not put "LDS" for LiteDos Se into bytes 7-9?

Then SDX can detect this string and you still have two bytes spare for future extensions.

  • Like 3

Share this post


Link to post
Share on other sites
17 hours ago, drac030 said:

Man, I do not care what it is or what it is not. It is you who wants support in ATARIDOS.SYS, so it is your problem, not mine, to make the format reliably detectable among everything else.

No it was NOT my request, it's from a SDX user and I asked you not to shoot the messenger... and you did just now.

😢

 

Share this post


Link to post
Share on other sites
18 hours ago, prysm1 said:

probably more of a question for mr atari, but just in case...

 

I am trying to learn more about dos for the atari, so was wondering if litedos-se is still compatible with this book?  https://www.atariarchives.org/iad/

 

regards

prysm1

Yes, except for saving files concerning how clusters are managed.
Where as AtariDOS 2.x uses single sectors.

Read the technical section of the LiteDOS-SE manual.

That is in the download.

Share this post


Link to post
Share on other sites
6 hours ago, mr-atari said:

Yes, except for saving files concerning how clusters are managed.
Where as AtariDOS 2.x uses single sectors.

Read the technical section of the LiteDOS-SE manual.

That is in the download.

Hello Mr Atari

I was just wondering if the address of the sector routines are still the same (BSIO, DSIO etc). 

I was aware of the sectors vs clusters difference (not necessarily understand hehehe). I will bother you with those questions later :)

 

thanks again, prysm1

Share this post


Link to post
Share on other sites
18 hours ago, prysm1 said:

Hello Mr Atari

I was just wondering if the address of the sector routines are still the same (BSIO, DSIO etc). 

I was aware of the sectors vs clusters difference (not necessarily understand hehehe). I will bother you with those questions later :)

 

thanks again, prysm1

No none, I coded the whole of LiteDOS myself, from scratch.

Using the Technical Hardware Manuals for the 400/800, covering DOS 2.0

So, there are no entry points, that are compatible with others.

But XIO 39 would be of interest for you I guess.

 

Note:

LiteDOS is in memory downwards over-writable, deleting first write support, then file handling and then kills it all.

But if you opened a file for execution and keep this open for IO, LiteDOS can support executables loaded as low as $980 roughly.

 

  • Like 1

Share this post


Link to post
Share on other sites
6 hours ago, mr-atari said:

No none, I coded the whole of LiteDOS myself, from scratch.

Using the Technical Hardware Manuals for the 400/800, covering DOS 2.0

So, there are no entry points, that are compatible with others.

But XIO 39 would be of interest for you I guess.

 

Note:

LiteDOS is in memory downwards over-writable, deleting first write support, then file handling and then kills it all.

But if you opened a file for execution and keep this open for IO, LiteDOS can support executables loaded as low as $980 roughly.

 

Ok, that was what i thought. thanks for the clarification

 

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