|
Yacc/Bison - what semantic actions to take on a parse error
|
| |
...
[... from comp.compilers, without John Levine's comments]
...
Yeah, in one instance some years ago, I avoided the use of %type and %union
altogether...
;-)
I chose to just use a string for YYSTYPE:
#define YYSTYPE char*
That must be defined in both the YACC and LEX grammars.... more »
|
|
Simplifying memory management
|
| |
I've been thinking of modifying my memory management code
that I touched upon in the "how does paging work" thread. As I
mentioned I've got a high level description of a process's address
space. Copying from an old post an address space looks like this:
AddressSpace (range 0x0000 to 0x10000) ---> Pmap (pagetables)... more »
|
|
filesystem seepage and sector wipes
|
| |
A while back, I had an issue where my USB camera drivers
wouldn't access my camera. The problem turned out to be
some cd-burner software by a major producer of such software
that came with the CD-ROM. It was interfering with the camera
drivers. In the long process of tracking down that issue,... more »
|
|
How does paging work?
|
| |
Hello all,
I am in the process of writing a simple bootloader in assembly, to
load a simple kernel. So far I have code to enable the A20 line, load
the kernel to 0x10000 in RAM, and load a temporary GDT. What I still
want to do is to map the kernel to 0xC0000000 using paging. The thing
is, I have no idea on how to implement paging. Some questions that I... more »
|
|
How can I use BIOS interrupts in pmode? - You can't!
|
| |
That's the job of the BIOS extender.
bootstrap32 is a PM32 USB FAT32 bootloader which includes a free
BIOS extender (free in the sense that you are free to use it or
not once loaded). Over 5 years in development and production.
Tested on many PC's both old and new (with traditional BIOS).
Correctly handles System Management Mode transitions. Directly... more »
|
|
alt.os.development FAQ
|
| |
FYI the FAQ for this newsgroup is held at
[link]
It contains answers to various questions on operating system
development.
|
|
Which filesystem is best for a boot partition
|
| |
The thread "Hard disk boot - space for extra code" led to the idea of
a boot partition. Any opinions as to what filesystem would be best to
use for that partition? In the fullest setup it would have to store
code and, likely, data representing a menu.
As a reminder, the idea of the boot partition is to provide extra... more »
|
|
bootstrap32
|
| |
bootstrap32 is a 32 bit protected mode FAT32 USB flash drive boot loader.
Features:
PM32 file named kernel.bin loaded to 1Mb from root directory
Fully setup PM32 with all interrupts enabled and working
Paging enabled with 4Gb identity mapped address space
Full access to all native motherboard BIOS functions while in PM32... more »
|
|
Pre-OS boot benefits
|
| |
This is a follow up to the thread "Hard disk boot - space for extra
code" which was going into wider issues so am replying here as a
separate thread.
On Apr 19, 9:21 pm, "Rod Pemberton" <do_not_h...@notemailnot.cmm>
wrote:
...
...
...
Hard to answer without knowing what specifically you are querying. We... more »
|
|
|