Skip to contentSkip to conversation

using int 13h to access DOC

DISCUSSION Matt Hortman 6 participants 6 messages Jul 19, 2000 – Jul 24, 2000 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi guys...

Shoot this down: Since the M-Sys firmware in the DOC simply installs an int 13h handler, why not use it to access the DOC using "bios" calls. I realize that the kernel probably overwrites that handler but that could be fixed. I don't know, however, about using a real-mode interrupt from a device driver. It seems too simple to work. What have I overlooked?

thanks,

-Matt

To unsubscribe, send "unsubscribe mtd" to [email protected]

#1 lore raw
Quoted 10 lines · Matt Hortman

Hi guys...

Shoot this down: Since the M-Sys firmware in the DOC simply installs an int 13h handler, why not use it to access the DOC using "bios" calls. I realize that the kernel probably overwrites that handler but that could be fixed. I don't know, however, about using a real-mode interrupt from a device driver. It seems too simple to work. What have I overlooked?

Why ?? We have GPL'd driver for both DoC 2000 and DoC Millennium now.

Ollie

To unsubscribe, send "unsubscribe mtd" to [email protected]

#2 lore raw
In reply to Matt Hortman
Quoted 6 lines · Matt Hortman

Shoot this down: Since the M-Sys firmware in the DOC simply installs an int 13h handler, why not use it to access the DOC using "bios" calls. I realize that the kernel probably overwrites that handler but that could be fixed. I don't know, however, about using a real-mode interrupt from a device driver. It seems too simple to work. What have I overlooked?

It's complex and unreliable. You can't trust BIOSen and the M-Systems code requires a _lot_ of low memory to be untouched.

There was, however, a patch for the 1.1 kernel which did this, I believe. It is theoretically possible. Better just to complete the existing GPL'd driver that we have though - it's probably easier.

Note - with the new 2.02 boot protocol for the Linux kernel, we should be able to boot happily from DiskOnChip even with the huge EBDA that its firmware requires. New bootloaders and 2.4 kernels should 'just work' according to hpa. There's a patch available for the 2.2 kernel to support the 2.02 protocol too.

--
dwmw2

To unsubscribe, send "unsubscribe mtd" to [email protected]

#3 lore raw
Quoted 5 lines · David Woodhouse

Note - with the new 2.02 boot protocol for the Linux kernel, we should be able to boot happily from DiskOnChip even with the huge EBDA that its firmware requires. New bootloaders and 2.4 kernels should 'just work' according to hpa. There's a patch available for the 2.2 kernel to support the 2.02 protocol too.

Available where? I'd like to get rid of our annoying FreeDOS bootloader.

kira.

To unsubscribe, send "unsubscribe mtd" to [email protected]

#4 lore raw
Quoted 5 lines · Kira Brown
Quoted 2 lines · David Woodhouse

according to hpa. There's a patch available for the 2.2 kernel to support the 2.02 protocol too.

Available where? I'd like to get rid of our annoying FreeDOS bootloader.

Dunno. Ask hpa.

--
dwmw2

To unsubscribe, send "unsubscribe mtd" to [email protected]

#5 lore raw

In article <[email protected]>,

Quoted 9 lines · David Woodhouse
Quoted 5 lines · Kira Brown
Quoted 2 lines · David Woodhouse

according to hpa. There's a patch available for the 2.2 kernel to support the 2.02 protocol too.

Available where? I'd like to get rid of our annoying FreeDOS bootloader.

Dunno. Ask hpa.

http://www.kernel.org/pub/linux/kernel/people/hpa/new-boot-2.2.17-pre9.diff.gz

Signature · 7 lines
                                            __O 
Fireplug - a Lineo company                _-\<,_ 
PGP Fingerprint: 28 E2 A0 15 99 62 9A 00 (_)/ (_) 88 EC A3 EE 2D 1C 15 68
Stuart Lynne <[email protected]>       www.fireplug.net        604-461-7532


To unsubscribe, send "unsubscribe mtd" to [email protected]