A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Storage & Hardrives
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

int 13 and el torito floppy boot image



 
 
Thread Tools Display Modes
  #1  
Old April 28th 07, 05:43 AM posted to comp.arch.storage
jcomeau_ictx
external usenet poster
 
Posts: 4
Default int 13 and el torito floppy boot image

Hi, I'm hoping someone here has some El Torito experience. I'm using
mkisofs to burn a bootable CDROM of the colorForth operating system as
if it were a 1.44MB floppy. I could probably get it to work by setting
-boot-load-size to the full image, but for various reasons I'd like to
avoid that, and my reading of the spec doesn't give me any reason to
believe I'd have to resort to that.

However, when I attempt to read the first cylinder with this code:

mov ebx, iobuffer
mov ax, (2 8) + 36 ;# 18 sectors per head, 2 heads
mov dx, 0x0000 ;# head 0, drive 0
mov ch, [cylinder + loadaddr]
mov cl, 1 ;# sector number is 1-based, and we always read from
first
int 0x13

int 13 returns with carry set, and AX=0124 (36 sectors read, and
"invalid function in AH or invalid parameter". The iobuffer is all
zeroes after the read.

I may well be doing something wrong, but meanwhile I'd like to find
out if anybody has made this work by treating the virtual floppy as a
real one, and using int 13 to read blocks from the CDROM. Thanks -- jc

  #2  
Old April 29th 07, 03:51 AM posted to comp.arch.storage
jcomeau_ictx
external usenet poster
 
Posts: 4
Default int 13 and el torito floppy boot image

On Apr 27, 10:43 pm, jcomeau_ictx wrote:
Hi, I'm hoping someone here has some El Torito experience. I'm using
mkisofs to burn a bootable CDROM of the colorForth operating system as
if it were a 1.44MB floppy. I could probably get it to work by setting
-boot-load-size to the full image, but for various reasons I'd like to
avoid that, and my reading of the spec doesn't give me any reason to
believe I'd have to resort to that.


I beginning to think it's not just my programming, especially since it
boots from a floppy with no problem. I downloaded the win98 boot disk
from http://freepctech.com/pc/002/files010.shtml, made an ISO image
using:

mkisofs -b win98.img -c boot.catalog -o win98.iso README.txt

Bochs can boot it, as it can my colorForth ISO. VMware cannot boot
either, which I don't think is a bug in VMware, it usually does just
what my laptop would do. I guess I could waste another CD and check
but I'm pretty sure my laptop won't boot win98 from the CDROM either.
Are there a bunch of buggy El Torito BIOSes out there? Hard to
believe, this many years after the spec was published.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Floppy image Ed Storage (alternative) 1 December 30th 06 04:39 AM
why can't my floppy boot? Claus Igeltupf General 3 January 21st 06 04:10 PM
El Torito DVD-RAM? [email protected] Storage (alternative) 0 May 4th 05 06:58 AM
bootable floppy which can boot a CD in systems without CD-Boot support Winey Storage (alternative) 0 September 7th 04 05:23 AM
WDC EZ-Drive floppy image Zbigniew Lisiecki Homebuilt PC's 11 August 4th 04 08:11 PM


All times are GMT +1. The time now is 10:14 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.