![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 00:36 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Try to transplant grldr.mbr to RomOS and write it into Bios |
| Printable Version 62,982 / 52 |
| Floor1 fastslz | Posted 2007-10-26 01:51 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
Master Bean, one of the grub4dos project developers, has already made it successfully; see posts 31 and 32
Can grldr.mbr really boot grldr on the hard disk from the BIOS? I don’t know either; I wanted to know, so I tried it... Today I tried again to port grldr.mbr into RomOS and write it into the BIOS. Although it failed, at least I finally saw grldr’s startup message. Compared with last time when it displayed disk error, it wasn’t a wasted effort. Budian and bean, when you see the information below, I hope to get your help. Is this method feasible? Welcome to ROMOS ver. 1.03 by Martin Rehak (C) 2001-2007; rayer@seznam.cz [ Last edited by fastslz on 2008-1-10 at 05:56 PM ] |
|
| Floor2 不点 | Posted 2007-10-26 08:04 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
GRLDR.MBR is very simple; don’t make it complicated. Originally it’s a bicycle: get on and it goes. But you’re building a highway and a rocket launch pad for it. (Joking)
You don’t need to emulate grldr.mbr as a disk. If you emulate it, you’ll fail instead. You only need to put all 8192 bytes of grldr.mbr at the address starting from 0000:7C00, then jump control to 0000:7C00, and that’s it. INT13h vector has been hooked F000:9734 -> D800:01CC ROMOS has installed virtual ROM DISK drive. These two messages above are both for disk emulation; it’s unnecessary. This is the reason for the failure. Missing MBR-helper This message means only 512 bytes were placed at 0000:7C00, while the remaining helper part was not. |
|
| Floor3 fastslz | Posted 2007-10-26 14:17 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
Jump control to 0000:7C00? The main thing is I don’t understand ROMOS. It’s all English and there’s nowhere to discuss it, and I don’t know assembly either, so I don’t dare modify the first 976-byte part of ROMOS.
|
|
| Floor4 不点 | Posted 2007-10-26 14:42 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
Forgive my ignorance, what exactly is ROM OS? I really don’t understand it. You’d better briefly introduce what you know to me.
How large is it itself? Where is it in memory (memory address)? Is its code only 976 bytes total? If so, upload it, and I’ll modify it for you. You have to explain clearly where grldr.mbr is, for example, whether it immediately follows those 976 bytes. If so, upload this whole block. =============== Oh, right, since it is a ROM “OS,” it tries to find a disk image (perform disk emulation). But grldr.mbr is not a disk image at all, so this usage of ROM OS itself is not quite correct. Therefore, I guess that as long as the “disk emulation” part in ROM OS is removed, that’s all. |
|
| Floor5 fastslz | Posted 2007-10-26 15:04 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
romos official site http://rayer.ic.cz/romos/romose.htm
Add an isa module in the BIOS so that after the BIOS self-test passes, pressing Scroll Lock directly boots FreeDOS The forum space is full Go to the official site to download romos.bin. The first 976 bytes are the main romos program, and the later part is the FreeDOS img image file. romos.bin can be opened with WinImage |
|
| Floor6 fastslz | Posted 2007-10-26 15:20 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
I extracted the first 976 bytes and saved the file as os.bin
copy /b os.bin+grldr.mbr romos.bin Then fill romos.bin with 0s to the original size of romos.bin, add the isa module into the bios file, then flash the bios. At present I have 3 spare bios chips, so I’m not afraid of flashing them bad, and I have the conditions to test Can’t upload attachments, so write it with debug |
|
| Floor7 fastslz | Posted 2007-10-26 15:47 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
romos is also worth a look by an expert like you
If it’s feasible, modify it so that grldr.mbr is loaded after the 976 bytes. I also tried writing only the 976 bytes into the bios file; after self-test, pressing scroll lock is effective. I also don’t know whether the original romos code requires romos.bin to be 65,536 bytes. If not specified, then os.bin+grldr is 8,144 bytes, reducing the isa module size. Originally posted by 不点 at 2007-10-26 14:42: That’s right: after the 976 bytes is the FreeDOS disk image, and the tail of romos.bin is also 48 bytes filled with 0s |
|
| Floor8 uleak | Posted 2007-10-26 16:12 |
| 初级用户 Posts 15 Credits 40 | |
| Floor9 fastslz | Posted 2007-10-26 16:25 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
Sweat, English again. I can barely understand most of it
The link is invalid; I’ll go look at Space-Time |
|
| Floor10 fastslz | Posted 2007-10-26 16:30 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
Found it, thanks
http://www.znpc.net/bbs/viewthread.php?tid=3550&highlight=romos |
|
| Floor11 不点 | Posted 2007-10-26 17:58 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
I found a simple method that can let you boot grldr.mbr using the original method.
Note that relatively new grldr.mbr already uses a hybrid hard-disk/floppy boot mode. What does that mean? In the first sector of grldr.mbr, you can fill in a BPB table. Copy the FreeDOS BPB table from romos.bin to the corresponding area in grldr.mbr, and it’s OK. grldr.mbr already leaves enough space for the BPB table. When the BPB table has not been filled in, they are all 00 bytes. In this way, the GRLDR.MBR with the BPB table filled in can be booted using your original method. |
|
| Floor12 fastslz | Posted 2007-10-26 18:41 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
Okay, I’ll try again..
|
|
| Floor13 lhteee | Posted 2007-10-28 21:37 |
| 中级用户 Posts 59 Credits 223 | |
|
I’ve seen a post where LaoMaoTao wrote FreeDOS ROMOS into the BIOS.
|
|
| Floor14 fastslz | Posted 2007-10-28 22:30 |
| 铂金会员 Posts 2,315 Credits 5,493 From 上海 | |
|
FreeDOS is originally part of RomOS, and RomOS is not difficult as long as you have experience modifying BIOS information and flashing BIOS. But I’m really afraid of foreign-language text; once foreign-language text gets involved, all enthusiasm is gone. There’s too little domestic discussion on this.
|
|
| Floor15 wang6610 | Posted 2007-10-29 11:32 |
| 银牌会员 Posts 488 Credits 1,246 | |
|
The OP’s method is wrong
|
|
| 1 2 3 4 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |