Search found 13 matches

by xilvium
Mon Nov 22, 2010 12:13 pm
Forum: Beginners
Topic: where and how to put stage1 and stage2 on single floppy?
Replies: 2
Views: 10363

Re: where and how to put stage1 and stage2 on single floppy?

Hello Raynesax, I myself also use linux and I use this code to put my bootloader on a floppy: dd if=boot.bin bs=512 of=/dev/fd0 I DO have a floppy drive thats what this code is aimed for! But you could create a empty floppy image and mount it and then write to it Here's a little example (Taken from ...
by xilvium
Fri May 07, 2010 1:24 pm
Forum: Beginners
Topic: VGA GRAPHICS
Replies: 6
Views: 18034

Re: VGA GRAPHICS

Hello Ryan, I would suggest you to wait before going graphical. What I would do is implement multitasking and a heap like jarvix said. And then Jump to user mode, and then port a c library or create your own ofcourse. After that has been done I would suggest using a VM8086 monitor. www.yaosp.org use...
by xilvium
Fri Aug 07, 2009 6:22 pm
Forum: Beginning OS Development
Topic: Graphics
Replies: 12
Views: 19689

Re: Graphics

Code: Select all

where+=pitch; 

Where does pitch come from?
How do they get to the where+=3200 well i mean how do they know the 3200?
And what is pitch ? :P
by xilvium
Fri Aug 07, 2009 2:24 pm
Forum: Beginning OS Development
Topic: Graphics
Replies: 12
Views: 19689

Re: Graphics

Yeah i also did the fillrect code which could be found on that link Osdev's fillrect code was for 800x600 so i switched to that mode. Anyway here is the promised file ^^ [url]http:/.www.xilvium.nl/Demo6.rar[/url] < Right click save-as else you could get problems with our .htacces for hotlinking xD a...
by xilvium
Fri Aug 07, 2009 10:45 am
Forum: Beginning OS Development
Topic: Graphics
Replies: 12
Views: 19689

Re: Graphics

I know this is all very complicated. But last night i have been screwing around for literally 5 hours But i got vesa on 1024x768 working now. I switch to vesa in real mode and then all the other stuff such as gdt etc... and now i am in pmode. And i wrote some drawing functions such as putpixel. Tuto...
by xilvium
Thu Aug 06, 2009 10:09 pm
Forum: Beginning OS Development
Topic: Graphics
Replies: 12
Views: 19689

Re: Graphics

A GUI hehe that sounds like a great idea but i am not skilled enough to code one i have to admit. All i wanted to do is initialise VESA in real mode and then do the drawing in C like show a simple boot logo and tada thats it. And then after alot of testing and playing around then maybe try a gui but...
by xilvium
Thu Aug 06, 2009 2:03 pm
Forum: Beginning OS Development
Topic: Graphics
Replies: 12
Views: 19689

Re: Graphics

Thank you Andrew But I have looked at this page before and it is still vague to me. As I am in real mode I can call the bios directly trough int 10 which is obvious. But my assembler knowledge is not that good that I can write it myself but I do understand the basic functions. The page you gave me c...
by xilvium
Thu Aug 06, 2009 10:35 am
Forum: Beginning OS Development
Topic: Graphics
Replies: 12
Views: 19689

Graphics

Hello, users Lately I made some time free so i could study some more on os development. But this time I didnt want to create a text mode os. So I did some research on vga vesa. Well I tried to but all i could find is that if you wish to make the switch from pmode you should use v8086 mode or do it f...
by xilvium
Sun Feb 22, 2009 10:57 am
Forum: Beginning OS Development
Topic: Operating system fails?
Replies: 11
Views: 17158

Well i tried your keyboard demo and that didnt give me an error.
But i have no ps/2 keyboard so it didnt work as its supposed to :P
I just got the blue screen with the flickering cursor.
So i ill study that code and see why it works and the other code does not.
by xilvium
Thu Feb 19, 2009 10:26 pm
Forum: Beginning OS Development
Topic: Operating system fails?
Replies: 11
Views: 17158

Thank you for the advice. I will try that when i find some free time to work on my os again. But why does it work without any problem in the emulator? Virtual pc 2007 = working vmware = working So i suppose that the problem could be something different then the code. Even the premade tutorial code (...
by xilvium
Thu Feb 19, 2009 5:38 pm
Forum: Beginning OS Development
Topic: Operating system fails?
Replies: 11
Views: 17158

This is my hardware: Intel core 2 quad ( 2,4 ghz per core ) 2 gigabyte ram ddr2 ( 667 mhz ) msi p6ngm motherboard 500gig sata hard drive lg dvd burner 8500gt msi 512mb gddr2 Legacy floppy 1,4" drive I have based my IRQ handlers from the tutorials they basicly are thesame. If i compile the tutor...
by xilvium
Wed Feb 18, 2009 10:06 am
Forum: Beginning OS Development
Topic: Operating system fails?
Replies: 11
Views: 17158

I have compiled the demo you gave me Mike. But it also does the same on my real hardware while it works in the emulator. After all the dots dissappear( the loading ) it gives the bluescreen with the yellow text immediately. But there is nothing wrong with the hardware i know that for sure. Because i...
by xilvium
Sat Feb 14, 2009 3:22 pm
Forum: Beginning OS Development
Topic: Operating system fails?
Replies: 11
Views: 17158

Operating system fails?

First of all, Hello to you all! Because i am new here. I have followed all the tutorials for Os Development available at this moment from the resources section. And i totally love them. But i have one problem. I followed till i completed tutorial #18 and in virtual pc 2007 it worked perfect. So i de...