cobos bootloader test
cobos bootloader test
Hi all,
i have finally written a bootloader that works on both my machines without rebooting and now i am interested in how it behaves on other machines. Do not expect fancy stuff it just shows a buchs of letters. These letters is where i am interested in as well as whether the system reboots or not.
bochs gives the combination 'DRrrrAaPTL'. This letters give me some detail about how the a20 was enabled 'Aa', who many sectors were read 'Rrrr' and whether it could switch to long mode 'PTL'.
i hope you guys are willing to test this and supply me the string as is seen on the display. It should work on a usb key, floppy and harddrive(but not sure about latter). Further more i would be interested in vmware and qemu output because these i didn't install.
regards
i have finally written a bootloader that works on both my machines without rebooting and now i am interested in how it behaves on other machines. Do not expect fancy stuff it just shows a buchs of letters. These letters is where i am interested in as well as whether the system reboots or not.
bochs gives the combination 'DRrrrAaPTL'. This letters give me some detail about how the a20 was enabled 'Aa', who many sectors were read 'Rrrr' and whether it could switch to long mode 'PTL'.
i hope you guys are willing to test this and supply me the string as is seen on the display. It should work on a usb key, floppy and harddrive(but not sure about latter). Further more i would be interested in vmware and qemu output because these i didn't install.
regards
- Attachments
-
- boot.zip
- (760 Bytes) Downloaded 77 times
Author of COBOS
-
- Member
- Posts: 62
- Joined: Tue Feb 13, 2007 10:46 am
by either using dd in linux or cygwin like dd if=boot.bin of=/dev/fda or using rawwritewin under windows http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm.
Author of COBOS
-
- Member
- Posts: 62
- Joined: Tue Feb 13, 2007 10:46 am
Reboots/triple faults INSTANTLY after printing the last characters on my test computer. Makes it really hard to read the characters. As far as I can tell, it prints DRrrrAaPTL, but I don't really get a chance to read the last letter or two.
I have an 80386SX 20MHz 2MB RAM.
It is my testbed platform. Only has the 3.5" and 5.25" floppy drives.
It is my testbed platform. Only has the 3.5" and 5.25" floppy drives.
-
- Member
- Posts: 62
- Joined: Tue Feb 13, 2007 10:46 am
Ok it doesn't reset now. Good job.
All printed characters have a blue background.
DRrrrAabukP$
That is the output I am given. The cursor (actually a blinking underline) is flashing in the upper left corner. DOn't forget to turn off the floppy drive motor, as it doesn't do that yet (or doesn't work on my test pc).
All printed characters have a blue background.
DRrrrAabukP$
That is the output I am given. The cursor (actually a blinking underline) is flashing in the upper left corner. DOn't forget to turn off the floppy drive motor, as it doesn't do that yet (or doesn't work on my test pc).
I have an 80386SX 20MHz 2MB RAM.
It is my testbed platform. Only has the 3.5" and 5.25" floppy drives.
It is my testbed platform. Only has the 3.5" and 5.25" floppy drives.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
I get (in all sorts of colors on a blue background)
DRrrrAabukPC$
on my dual-processor P2 box. If you'd care to explain what that means
oh and, it halts afterwards.
DRrrrAabukPC$
on my dual-processor P2 box. If you'd care to explain what that means
oh and, it halts afterwards.
That seems to be a BIOS thing, and a common one at that too. Most bioses keep the floppy running for a while after use, and we generally take over control of the timer before the bios decides to cut power on it.uglyoldbob wrote:DOn't forget to turn off the floppy drive motor, as it doesn't do that yet (or doesn't work on my test pc).
ok, i will explain what de letters and colours mean.Combuster wrote:DRrrrAabukPC$ on my dual-processor P2 box. If you'd care to explain what that means
- green is success
- red is fail, obviously
- white means start of a new catagory.
- D = getting the bios drive parameters, this allows for a 'universal' bootloader working on floppy, harddisk and usb stick.
- R = start reading drive.
- r: one sector read.
- A = trying to enable A20
- a: bios already enabled a20.
- b: enable a20 using call $2401 of int 15
- u: using the undocumented pc trick.
- k: using the keyboard controller
- f: using the fast method via system control port a.
- P = switching to 16-bit protected mode.
- C = checking the support for cpuid
- T = checking for long mode support.
- L = running in 64-bit long mode.
- $ = locking system.
so DRrrrAabukPC$ mean that 3 sectors where read and that the A20 was enabled using keyboards controller. The system jumped to 16-bit pmode checked for cpuid. I just found an error because with you configuration you should have seen a red T meaning that longmode isn't supported and uglyoldbob should have seen a red C meaning the cpuid failed.
The halt is perfectly ok because the rest isn't implemented/mature yet.
I've fixed this error now so thanks for testing.
Author of COBOS
-
- Member
- Posts: 62
- Joined: Tue Feb 13, 2007 10:46 am
-
- Member
- Posts: 62
- Joined: Tue Feb 13, 2007 10:46 am