OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 2:49 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: panalix 0.05j - 10/04/2004
PostPosted: Fri Apr 09, 2004 8:15 am 
Hi all! Finally my system is interactive. It now supports keyboard input and cool virtual consoles.

http://adek336.fm.interia.pl/p0.05-100404.img.gz this is the floppy image with the sources in it.

It is hybrid monolithic- it loads and links (elf) modules at runtime, which actually include kboard, fdc and fat drivers. The fat driver is hardcoded to run "/mnt/fd0/psh.x" in userland. It does- it's a simple console, in which typing a directory prints out it listing.
-/mnt/fd0 - the floppy;
-/SYSTEM; /SYSTEM/dev- directory listing not yet supported for those (there's only the /SYSTEM/dev/fd0 file inside)

My consoles support up to 10 consoles. Alt+F1, Alt+F2 etc switch between them. If you typed to the console more than 25 lines you can scroll up with Shift+PgUp and return with Shift+PhDn. The console under Alt+F1 tells you also which scan set has been selected, whether 1,2 or 3.

As this is my first major release, I would be very grateful for comments on my sources and on my coding style. Generally src/LINKER is the source for almost whole the system; it compiles to linker.x, the kernel- it loads modules given by grub. src/KERNEL32 initializes drivers and begins multitasking. src/APPS/API1_0 is for the SYSENTER/SYSEXIT interface, src/APPS/PLIBC malloc, printf etc. src/APPS/PSH a simple, primitive console.

Cheers! ;)
Looking forward to those verbose, informative responses ;D

[edit]updated the image. now the lack of sysenter/sysexit isn't fatal and to move around consoles, press Ctrl+Fn.[/edit]


Top
  
 
 Post subject: Re:panalix 0.05j - 10/04/2004
PostPosted: Fri Apr 09, 2004 9:16 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
i give it a try in the bochs, and it complains about sysenter/sysexit to be unavailable (an AuthenticAMD processor is reported).

also, i guess it will be uncomfortable to use ALT+F4 to switch to another console for most of us :(

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:panalix 0.05j - 10/04/2004
PostPosted: Fri Apr 09, 2004 10:05 am 
Updated the image. ;)

There was a workaround the fact some P6 indicating sysenter/sysexit did not support it. It checked for the cpu version but did not at the cpu vendor. Well now it's fixed I hope ;D and if it isn't, the problem isn't fatal anymore. (oh my better not try panalix under old cpus now :o)

As for the consoles- now it's Ctrl+F1, Ctrl+F2, etc.

It seems to hang when typing "/mnt/fd0/src/DRIVERS". If you are able to reproduce the problem, pls tell me!!!

Cheers 8)


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group