RE: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Johnna
Subject: How ROM knowns wheter a disk is bootable I have a little technical question: How does Sam ROM know whether the file no.01 is DOS, or not? It doesn't blindly load anything there, is it? Does bootable disk have some special contents in track 0, sector 1? Or possibly the special contents

RE: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Johnna
Ignore me - I didn't read your question properly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aley Keprt Sent: 13 January 2005 01:32 To: sam-users@nvg.ntnu.no Subject: How ROM knowns wheter a disk is bootable I have a little technical question: How

How ROM knowns wheter a disk is bootable

2005-01-13 Thread Aley Keprt
I have a little technical question: How does Sam ROM know whether the file no.01 is DOS, or not? It doesn't blindly load anything there, is it? Does bootable disk have some special contents in track 0, sector 1? Or possibly the special contents are at track 4, sector 1? (I'd expect there is

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Andrew Collier
On Jan 13, 2005, at 1:31 am, Aley Keprt wrote: I have a little technical question: How does Sam ROM know whether the file no.01 is DOS, or not? It doesn't blindly load anything there, is it? Does bootable disk have some special contents in track 0, sector 1? Or possibly the special contents

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Edwin Blink
I have a little technical question: How does Sam ROM know whether the file no.01 is DOS, or not? track 4 sector 1, offset $0100 the word BOOT bits 7 and 5 of each char is ignored If it finds it sector which was loaded at 8000 will be executed 8009 as the first 9 are part of (inherited from

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Aley Keprt
] - www.cs.vsb.cz -- - Original Message - From: Edwin Blink [EMAIL PROTECTED] To: sam-users@nvg.ntnu.no Sent: Thursday, January 13, 2005 2:50 AM Subject: Re: How ROM knowns wheter a disk is bootable I have a little technical question: How does

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Aley Keprt
] To: sam-users@nvg.ntnu.no Sent: Thursday, January 13, 2005 2:50 AM Subject: Re: How ROM knowns wheter a disk is bootable I have a little technical question: How does Sam ROM know whether the file no.01 is DOS, or not? track 4 sector 1, offset $0100 the word BOOT bits 7 and 5 of each char

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Frode Tenneboe
On Thu, 13 Jan 2005 06:38:06 +0100 Aley Keprt [EMAIL PROTECTED] wrote: Oh, and does it mean that I can have SAMDOS at arbitrary directory slot as long as its body occupies tracks 4 and 5? If you say that ROM loads directly track 4... :-) The SAM ROM only loads the sector at track 4, sector 1

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Frode Tenneboe
On Thu, 13 Jan 2005 06:27:31 +0100 Aley Keprt [EMAIL PROTECTED] wrote: Thank you (thanks to Andrew Collier as well). So what's GDOS? A system software from MGT's ZX Spectrum disk interface Disciple or Plus D? GDOS - Disciple G+DOS - +D (What does the G stand for?) I'd like to know what

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread hookares
--- Frode Tenneboe [EMAIL PROTECTED] wrote: On Thu, 13 Jan 2005 06:27:31 +0100 Aley Keprt [EMAIL PROTECTED] wrote: Thank you (thanks to Andrew Collier as well). So what's GDOS? A system software from MGT's ZX Spectrum disk interface Disciple or Plus D? GDOS - Disciple G+DOS - +D

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread hookares
--- hookares [EMAIL PROTECTED] wrote: --- Frode Tenneboe [EMAIL PROTECTED] GDOS - Disciple G+DOS - +D (What does the G stand for?) Gordon - as in Brucey

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Aley Keprt
On Thu, 13 Jan 2005 06:38:06 +0100 Aley Keprt [EMAIL PROTECTED] wrote: Oh, and does it mean that I can have SAMDOS at arbitrary directory slot as long as its body occupies tracks 4 and 5? If you say that ROM loads directly track 4... :-) The SAM ROM only loads the sector at track 4, sector 1

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Frode Tenneboe
On Thu, 13 Jan 2005 11:31:42 +0100 Aley Keprt [EMAIL PROTECTED] wrote: Please read again what I suggested. If you say that Sam ROM reads just track 4 sector 1, it means that I AM correct. Yet again, if you say that Sam ROM doesn't know about directory, that means I AM correct. Ah. Sorry.

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Edwin Blink
From: Frode Tenneboe [EMAIL PROTECTED] But you could put the rest of the DOS anywhere you like on the disc. Cookie did that to good effect in MaxiDOS/QDOS where he put the DOS on tracks 80-82. Just side one BTW if you wish you could store DOS anywhere into the directory as long as there is one

RE: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Geoff Winkless
Frode Tenneboe wrote: On Thu, 13 Jan 2005 11:31:42 +0100 Aley Keprt [EMAIL PROTECTED] wrote: Please read again what I suggested. If you say that Sam ROM reads just track 4 sector 1, it means that I AM correct. Yet again, if you say that Sam ROM doesn't know about directory, that means I AM

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Aley Keprt
@nvg.ntnu.no Sent: Thursday, January 13, 2005 1:11 PM Subject: Re: How ROM knowns wheter a disk is bootable From: Frode Tenneboe [EMAIL PROTECTED] But you could put the rest of the DOS anywhere you like on the disc. Cookie did that to good effect in MaxiDOS/QDOS where he put the DOS on tracks 80-82

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Andrew Collier
On Thu, 2005-01-13 at 13:05, Aley Keprt wrote: What procedure uses the regular SAMDOS2 to load itself? It uses the standard procedure? I mean does it check two last bytes of each sector to find the next one? I am suspicious about this. As fas as I remember sometimes I had hard times trying

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Andrew Collier
On Thu, 2005-01-13 at 12:11, Edwin Blink wrote: BTW if you wish you could store DOS anywhere into the directory as long as there is one slot before it that has both filetype and 1st char of filename zero to mark end of directory. I seem to remember that SAMDOS needs to find a whole sector

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Edwin Blink
From: Andrew Collier [EMAIL PROTECTED] I seem to remember that SAMDOS needs to find a whole sector clear, so you'd need two empty entries. (Or perhaps it only checked for the zero marker at the start of the zero marker, and not 256 bytes in.) Just the first two bytes try this funny thing:

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Frode Tenneboe
On Thu, 13 Jan 2005 13:14:04 + Andrew Collier [EMAIL PROTECTED] wrote: On Thu, 2005-01-13 at 13:05, Aley Keprt wrote: What procedure uses the regular SAMDOS2 to load itself? It uses the standard procedure? I mean does it check two last bytes of each sector to find the next one? I am

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Frode Tenneboe
On Thu, 13 Jan 2005 13:11:45 +0100 Edwin Blink [EMAIL PROTECTED] wrote: Just side one. Tracks are always on just one of the sides. Cylinders are on both (or all, for multi platter devices). :) -Frode -- ^ Frode Tennebø | email: [EMAIL PROTECTED] ^ | Ericsson AS |

Re: How ROM knowns wheter a disk is bootable

2005-01-13 Thread Stuart Brady
On Thu, Jan 13, 2005 at 03:14:06PM +0100, Frode Tenneboe wrote: On Thu, 13 Jan 2005 13:11:45 +0100 Edwin Blink [EMAIL PROTECTED] wrote: Just side one. Tracks are always on just one of the sides. Cylinders are on both (or all, for multi platter devices). :) On the SAM, cylinder isn't a