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

Re: [colorforth] Booting from HDD


Dear Ray, 

The same line, inserted into block 30, also booted the
image which you sent me, namely:  myCF05.img 

Having proved that the display address from VBE call
4F01 is all that CF05 needs in order to boot new PC
from
floppy, I would now like to boot the same image from a
USB thumbdrive stick. (Just for fun - legacy floppy and
USB floppy will last my time :)  Having made a start by
putting Howerd's color.blk (the image that boots on the
most PCs) onto a stick, it booted up to the point where
the floppy drive started to whirr.  Obviously, some
part of the code was still looking to load from a real
floppy.  If a boot floppy was then inserted, that
carried the same image - color.blk - the thumbdrive
boot process concluded succesfully.   

Next step: try booting CF05 from thumdrive in "no
emulation" mode.  I believe this can be used to copy
ALL the sectors into RAM (not just the boot sector) via
INT13.  Then a minimal mod to Josh's code: jump over all
the calls to real floppy hardware - probably to his line
123 "mov esi, maind" in "start2:" of his "boot.asm". 

Caritas,

NickM

*****

Apology for writing so long; not enough time to make it
short by writing the code.   



Quoting Nick Maroudas on Wed 26 March

>... " calls VBE 4f01....
>... " Josh's CF05 has "displ" at byte address FA0, 
>... which is 3E8 in a CF dump. 
>... " So define a new hex word in block 30 (Colors
etc)

>... " plug this VBE address into Chuck's "displ" slot.


>... " 
>... "    forth   : display 40000000 3E8 ! ;   display
>... " 
>... " 
>... " and voila!  Sound and vision from JG's CF05 on a
>... " 
>... " NickM 
>... " 

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