home .. forth .. colorforth mail list archive ..

Re: [colorforth] Booting from HDD


On Sat, Mar 15, 2008 at 3:37 PM, Nick Maroudas
<alice@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Dear John,
>
> Thanks for setting me right re P9492. I was way off.
> Might I ask you kindly, as the author of that version,
> also to set me right on what instruction or opcode
> stands at 0x92 bytes into the bootloader? By my crude
> reckoning (based on Tim's  NASM cmcolor.list.txt) if
> "org7c00" is 0x00 then 0x92 has already set up the
> video mode (presumably AGP) copied all the blocks
> (presumably not via floppy :) and stands at
> "relocate:".  Is this anywhere near your mark?
>
> Caritas,
>
> NickM
>
>
> Quoting John Comeau <jc@xxxxxxxxxxxx>:
>
> >... " P9492: 'P' is protected mode, 9492 is the last
>
> >... " hex address just past
> >... " which one of the debugging calls was executed.
> >... " If I remember right,
> >... " that version starts at 0x9400, so it's only 0x92
> >... " bytes into the
> >... " bootloader.
> >... "
> >... " On Sat, Mar 15, 2008 at 4:59 AM, Jason Kemp
> >... " <jason.kemp@xxxxxxxxxxxxxxxx> wrote:
> >... " > Dear Nick,
> >... " >
> >... " >  Sorry, I sent this yesterday but it's been
> >... " bounced back.
> >... " >
> >... " >  It doesn't boot from a flash drive.
> >... " >
> >... " >  The board has a Phoenix BIOS and it
> >... " identifies a USB flash drive in the
> >... " >  BIOS setup as "USB-HDD0" so I assume it is
> >... " emulating a hard disk--in
> >... " >  fact I had the same flash drive running
> >... " FreeDOS before (so I could run
> >... " >  Pygmy) and DOS saw it as the C: drive.  So if
> >... " it's emulating a HDD then
> >... " >  I expect that is why colorForth Won't boot
> >... " fully--it displays "P9492" in
> >... " >  the top right though, which I assume is from
> >... " the progress routine in
> >... " >  boot.asm.  Lots of guessing and assuming at
> >... " the mo!
> >... " >
> >... " >  Just a brief Google of USB Flash booting and
> >... " it appears that in some AMI
> >... " >  BIOSes give a forced FDD emulation option.
> >... " >
> >... " >  Jason
> >... " >
> >... " >  Nick Maroudas said the following on
> >... " 14/03/2008 20:36:
> >... " >
> >... " >
> >... " > > Dear Jason,
> >... " >  >
> >... " >  > Looking forward to more from you and John
> >... " Comeau, on how
> >... " >  > to boot (and save?) with his iso on your
> >... " flash drive.
> >... " >  >
> >... " >  > Re your not finding a version that works on
> >... " a 3GHz P4,
> >... " >  > I
> >... " >  > have the same experience with 3.3 GHz PD on
> >... " Intel945
> >... " >  > board. None of the following booted
> >... " properly - not
> >... " >  > John's CD of CFDOS4, nor floppies with
> >... " Chuck's CF01,
> >... " >  > nor the Neitz/StMarie CF01, nor Josh's CF05
> >... " and a
> >... " >  > related CF05 from Ray - though every one of
> >... " these ran
> >... " >  > reliably on my 0.55 GHz P4/ASUS P2. However
> >... " (to my
> >... " >  > relief!) Howerd Oakford's CFDOS4 (from
> >... " Howerd's
> >... " >  > website)
> >... " >  > runs on both the old and the new machine.
> >... " >  >
> >... " >  > http://www.inventio.co.uk/
> >... " >  >
> >... " >  > Scratching around for a possible reason, I
> >... " found JC's
> >... " >  > meticulous comparison View of
> >... " >  > /colorforth/boot_asm_list.txt on
> >... " SourceForge.net.
> >... " >  > According to my understanding of John's
> >... " list, number 11
> >... " >  > is the only one for sure that "has VESA
> >... " code instead of
> >... " >  > AGP" - VESA/VBE being the new standard for
> >... " graphics
> >... " >  > software of course.
> >... " >  > JC lists number 11 as
> >... " "/usr/src/howerd/VESA/boot.asm"
> >... " >  > but no. 10 is also by Howerd
> >... " >  > "/usr/src/howerd/Quartus/BOOT.ASM # same as
> >... " Kris
> >... " >  > Johnson's"
> >... " >  > so I am not sure which boot.asm is used to
> >... " boot Howerd's
> >... " >  > floppy, and which one is used to boot
> >... " John's CD (and
> >... " >  > your USB flash drive). But if VESA code
> >... " does indeed
> >... " >  > turn out to be crucial for some newer
> >... " machines, then I
> >... " >  > shall owe it to JC's method for spotting
> >... " the difference
> >... " >  > :-)
> >... " >  >
> >... " >  > Caritas,
> >... " >  >
> >... " >  > NickM
> >... " >  >
> >... " >  >
> >... " >  > Quoting Jason Kemp
> >... " <jason.kemp@xxxxxxxxxxxxxxxx>:
> >... " >  >
> >... " >  >
> >... " >  >> ... " It's fine on the Jetway
> >... " >  >> ... " It doesn't work on my old Gateway
> >... " SOLO2150 which
> >... " >  >> ... " runs the original CF01
> >... " >  >> ... " and Josh Grams's CF05
> >... " >  >> ... " So far nothing runs on my Asrock
> >... " P4i64G 3GHz P4;
> >... " >  >> ... " anyway, I will try it again and pay
> >... " more
> >... " >  >> ... " attention if you wish.
> >... " >  >> ... "
> >... " >  >> ... " I will try booting from a flash
> >... " drive later on
> >... " >  >> ... " the Jetway too.
> >... " >  >> ... "
> >... " >  >> ... " Jason
> >... " >  >> ... "
> >... " >  >>
> >... " >  >
> >... " >  >
> >... "
> ---------------------------------------------------------------------
> >... " >  > To unsubscribe, e-mail:
> >... " colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
> >... " >  > For additional commands, e-mail:
> >... " colorforth-help@xxxxxxxxxxxxxxxxxx
> >... " >  > Main web page - http://www.colorforth.com
> >... " >  >
> >... " >  >
> >... " >  >
> >... " >  >
> >... " >
> >... " >
> >... " >
> >... "
> ---------------------------------------------------------------------
> >... " >  To unsubscribe, e-mail:
> >... " colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
> >... " >  For additional commands, e-mail:
> >... " colorforth-help@xxxxxxxxxxxxxxxxxx
> >... " >  Main web page - http://www.colorforth.com
> >... " >
> >... " >
> >... "
> >... "
> >... "
> >... " --
> >... " John Comeau <jc@xxxxxxxxxxxx>
> >... " http://jc.unternet.net/
> >... " "A place for everything, and everything
> >... " all over the place"
> >... "
> >... "
> ---------------------------------------------------------------------
> >... " To unsubscribe, e-mail:
> >... " colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
> >... " For additional commands, e-mail:
> >... " colorforth-help@xxxxxxxxxxxxxxxxxx
> >... " Main web page - http://www.colorforth.com
> >... "
>
>
> --
> Dr Nicolas George Maroudas
> Avigdor Meiri 9/1
> Sea View
> Haifa 3 55 00
> Israel
> Tel +972 048 337 315
>
> ****************************
>
> No trees were killed in the sending of this message.
> However, a large number of electrons were terribly
> inconvenienced
>
> ****
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
> Main web page - http://www.colorforth.com
>
>

Hi Nick, All!

Far as I can tell from my listing of Terry's 800x600 version of
Chuck's 01 with Terry's floppy strobe, where I returned all of the
margins and fonts and video mode to 4117 ( 1024x768 5:6:5 color with
linear frame buffer bit set) ...

0x92h is were the jump instruction 0xeah is inserted in the relocate
code and is the jump to protected mode, far as I can tell.

-- 
Raymond St. Marie ii,
colorforthray.info

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com