flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > The REAL OS construction contest Goto page Previous 1, 2, 3, 4, 5, 6, 7 Next |
Author |
|
Coddy41 28 Feb 2009, 15:56
hm... right now the best KBD driver I have only supports normal and left shift key press. No FDD driver yet.
|
|||
28 Feb 2009, 15:56 |
|
Plue 28 Feb 2009, 16:37
revolution wrote:
a) Doesn't work b) May damage your hardware _________________ Roses are red Violets are blue Some poems rhyme And some don't. |
|||
28 Feb 2009, 16:37 |
|
Dex4u 28 Feb 2009, 16:37
Its seems high-res is out of the question, as by theres rules no vesa is possable .
|
|||
28 Feb 2009, 16:37 |
|
Tomasz Grysztar 28 Feb 2009, 16:39
Too bad this time I don't have time to participate... I've got somewhere a nice FAT32 driver that operates on IDE ports directly which I once wrote. Perhaps could be useful for such competition.
Last edited by Tomasz Grysztar on 28 Feb 2009, 16:41; edited 1 time in total |
|||
28 Feb 2009, 16:39 |
|
revolution 28 Feb 2009, 16:40
Plue wrote: b) May damage your hardware |
|||
28 Feb 2009, 16:40 |
|
Plue 28 Feb 2009, 16:42
The most important part is that it doesn't actually work. REAL OSes (like Linux) use the bios for this.
|
|||
28 Feb 2009, 16:42 |
|
revolution 28 Feb 2009, 16:44
Dex4u wrote: Its seems high-res is out of the question, as by theres rules no vesa is possable . |
|||
28 Feb 2009, 16:44 |
|
revolution 28 Feb 2009, 16:49
Use you imagination. There is no reason why an app running under your OS can't be run by the user with switch settings to say what display modes it wants. Perhaps you can include drivers for some of the more common displays and the user can command the OS to switch modes after start up. Think outside of the rectangle, there will be a way.
|
|||
28 Feb 2009, 16:49 |
|
bitRAKE 01 Mar 2009, 18:08
So, the MBR is allowed to use the BIOS? (Rules indicate non-BIOS use begins at boot sector. )
|
|||
01 Mar 2009, 18:08 |
|
revolution 01 Mar 2009, 23:35
bitRAKE wrote: So, the MBR is allowed to use the BIOS? (Rules indicate non-BIOS use begins at boot sector. ) |
|||
01 Mar 2009, 23:35 |
|
edfed 02 Mar 2009, 09:24
revolution:
is it possible to allow the usage of INT13h in the MBR because if we want it to be a real OS, we need to be able to load the second stage from any volume supported by BIOS transparentlly. and it is very impossible to make a generic disk driver able to read from floppy, harddrives and usb pens within the 512 bytes MBR. then, this part should use the BIOS INT13h and maybe INT10h just to switch in the wanted screen mode. after MBR, it will be totally forbiden to use BIOS code, even copying the code somewhere else and use it as a non bios code. but i repeat, if we want to be able to load second stage from the current drive transparently, we should use the bios. |
|||
02 Mar 2009, 09:24 |
|
revolution 02 Mar 2009, 09:43
But the MBR is usually just mostly empty. A few lines to find the active partition, load a sector, jmp.
I tell you what, as a compromise, if you find this part too onerous, entries will be accepted that allow the MBR to use INT 13h if and only if the MBR is a standard, simple MBR that has one purpose: to load your single boot sector into memory from the active partition and jump to it. From there you are not permitted to use the code from the MBR (i.e. the calls to INTs etc.) that is in the memory. We can call this the "edfed MBR variation". And all entries must clearly state if they are using the "edfed MBR variation". Is that acceptable? I don't want to make it such a burden so I'm okay to compromise on some things. But just to know that I have done this myself under the original rules (yes I tested that it can be done before posting) so this change is not really needed. |
|||
02 Mar 2009, 09:43 |
|
revolution 02 Mar 2009, 09:55
BTW: There is no requirement for the OS to support partitions/MBR. Up to you.
|
|||
02 Mar 2009, 09:55 |
|
edfed 02 Mar 2009, 10:02
but, then, we will be forced to create at least 3 MBRs.
one for the HD from IDE one from the HD from SATA one for the floppy. and then, to test the os, we will have at least 3 images, one for a sata drive, one fro a ide drive, and one for a floppy drive. |
|||
02 Mar 2009, 10:02 |
|
revolution 02 Mar 2009, 10:05
edfed: I don't get you meaning. Why are you forced to create so many MBRs?
I thought by definition you can only have one MBR. |
|||
02 Mar 2009, 10:05 |
|
edfed 02 Mar 2009, 10:19
one mbr on the drive, but wich drive will be used?
if i use floppy for tests, i will use a floppy mbr if i use the hd for definitive use, i will have a ide mbr. etc etc. Last edited by edfed on 02 Mar 2009, 12:19; edited 1 time in total |
|||
02 Mar 2009, 10:19 |
|
revolution 02 Mar 2009, 10:23
Up to you how you want to organise your code. But there is not any requirement to support multiple booting environments either. I have left all these small details for you to decide.
I think you are trying to run before you can walk. Would it not be best to get something working first before starting to support alternative booting scenarios? Anyhow, like I said, it is all up to you. |
|||
02 Mar 2009, 10:23 |
|
DJ Mauretto 02 Mar 2009, 18:47
Learn CD ROM boot spec. EL TORITO, you can tell at BIOS
when boot from CD how many virtual sector ( 512 byte) load to 7C00 or also choice another address for your Boot Of course you must write a manual ISO compilant with EL TORITO. Firts Hacker then programmer _________________ Nil Volentibus Arduum |
|||
02 Mar 2009, 18:47 |
|
LocoDelAssembly 02 Mar 2009, 19:05
Quote:
Which violates the rules because them state that the BIOS must load no more than 512 bytes. |
|||
02 Mar 2009, 19:05 |
|
Goto page Previous 1, 2, 3, 4, 5, 6, 7 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.