Search found 15 matches

by gzaloprgm
Mon Jun 09, 2008 3:15 am
Forum: Beginning OS Development
Topic: real hardware problem
Replies: 24
Views: 33785

Re: CPU Problem?

jamsinux wrote:Is it possible that the OS does not support Dual-Core CPU's? My PC has 2 CPU's and the other one has 1.
Thanks.


I don't think so. It works great in my main pc (the demo4) (Amd Athlon 4000+ Dual-Core and 64 bit support).

Cheers,
Gonzalo
by gzaloprgm
Sat Apr 26, 2008 10:35 pm
Forum: Your Announcements
Topic: Tutorial 16: Kernel: Timing and Exception Handling
Replies: 8
Views: 23066

Paging is easy, Dynamic memory allocations is harder. For paging, basically you'll need a page directory for kernel and one extra per process (if you want it). Then you should have a way of knowing which frame is free and which isn't (for example with a bitmap). You also need some way of allocating ...
by gzaloprgm
Sat Apr 26, 2008 10:00 pm
Forum: Article Feedback
Topic: Some errors in tutorials
Replies: 2
Views: 12217

Re: Some errors in tutorials

Hey, That 1MB bug was fixed some time ago. If it is still in the tutorials, can you please point out where? The texts are all extracted from m . I am very glad that you have brought that up, as you are correct. The only way around this is to either load it from protected mode (instead of real mode)...
by gzaloprgm
Sat Apr 26, 2008 8:13 pm
Forum: Article Feedback
Topic: Some errors in tutorials
Replies: 2
Views: 12217

Some errors in tutorials

Hi! I've found some bugs in your tutorials. org 0x10000 ; Kernel starts at 1 MB (0x10000 = 64KiB) mov bx, 0x1000 ; BX:BP points to buffer to load to mov bp, 0x0000 ; load to 1 MB (0x10000) (0x1000:0 = 64KiB) jmp 0x8:0x10000 ; jump to our kernel! Note: This assumes Kernel's entry point is at 1 MB (0x...
by gzaloprgm
Mon Feb 11, 2008 4:52 am
Forum: Beginning OS Development
Topic: osdev 4 dummies
Replies: 5
Views: 11258

Hello ZFos! First of all, making a good kernel and operating system requires lots of patience and time. Also, if you wanna make your own OS from SCRATCH, you must learn at least some x86 assembler and know C/C++, you must know how to use pointers, access memory, make bits operations, etc. Then, you ...
by gzaloprgm
Thu Jan 24, 2008 2:23 am
Forum: Beginning OS Development
Topic: real hardware problem
Replies: 24
Views: 33785

Hi, today I bought a new floppy drive and the same thing happens. My old pc resets after jumping to 0x8:0x100000 It's not a floppy problem because when I try it on bochs or on qemu using a: as image it works perfectly I just want to make sure that you have found the problem so we can fix this. Yes,...
by gzaloprgm
Tue Jan 22, 2008 2:03 am
Forum: Beginning OS Development
Topic: VESA
Replies: 11
Views: 18691

If the series reader demand for this is great enough, we might just skip the vga, and use VBE... What would you like? I don't know, I think if VGA is simpler I'd prefer it as a starting point, especially as it's supported on more platforms. 800x600 resolution is plenty for a start. If you like you ...
by gzaloprgm
Mon Jan 21, 2008 11:20 pm
Forum: Beginning OS Development
Topic: real hardware problem
Replies: 24
Views: 33785

Hi, today I bought a new floppy drive and the same thing happens. My old pc resets after jumping to 0x8:0x100000 It's not a floppy problem because when I try it on bochs or on qemu using a: as image it works perfectly I just want to make sure that you have found the problem so we can fix this. Yes, ...
by gzaloprgm
Sun Jan 20, 2008 4:35 am
Forum: Beginning OS Development
Topic: real hardware problem
Replies: 24
Views: 33785

I dont know, I don't have another floppy, so i'll have to wait until tomorrow to buy a new one.

I don't think your code is buggy on my testbed pc, I just think that something was wrong with my floppy drive, tomorrow I'll say if it works or not with that pc.
by gzaloprgm
Sun Jan 20, 2008 3:38 am
Forum: Beginning OS Development
Topic: real hardware problem
Replies: 24
Views: 33785

Whoops, my floppy drive broke and the top head was missaligned, so only one face was loaded :oops: .

In monday I'll buy a new one, I hope it works with your code.
by gzaloprgm
Sat Jan 19, 2008 11:13 pm
Forum: Beginning OS Development
Topic: Usefull Code Snippets
Replies: 1
Views: 5982

Thanks, I'll probably use the warm reboot in my next os.

Also, the

Code: Select all

mov ah, 00h
mov al, 13h
int 10h


can be simplified using

Code: Select all

mov ax, 13h
int 10h
by gzaloprgm
Sat Jan 19, 2008 5:19 pm
Forum: Beginning OS Development
Topic: real hardware problem
Replies: 24
Views: 33785

Yes, today I tried with this pc and it worked, so I guess I'll have to do all tests in this computer If anyone had the same problem I would like to know how did you solve it. Processor: Intel Pentium MMX 233mhz Ram: 64MiB Bios: Award Modular Bios PCI/PNP 586 4.51PG Floppy Drive: NEC FD1231H Chipset:...
by gzaloprgm
Sat Jan 19, 2008 4:32 am
Forum: Beginning OS Development
Topic: real hardware problem
Replies: 24
Views: 33785

Ok, thanks. The weird thing is that the 2nd stage was loaded correctly. I don't know why the 3rd isn't loaded in my pc.
by gzaloprgm
Sat Jan 19, 2008 3:11 am
Forum: Beginning OS Development
Topic: real hardware problem
Replies: 24
Views: 33785

Thanks Mike, I put the cli&hlt prior the jump to the kernel(jmp 0x8:0x100000) and it didn't reset! Then I removed them and put them in stage3.asm, just before the "jmp Stage3" instruction. It reseted, so I'm sure the processor executed garbage instructions and made a triple fault and d...
by gzaloprgm
Fri Jan 18, 2008 10:46 pm
Forum: Beginning OS Development
Topic: real hardware problem
Replies: 24
Views: 33785

real hardware problem

Hello, I read the last stage 2 tutorial, then I downloaded the last source, m, when I try it on qemu and bochs it works perfectly, but when I run it from a floppy in real hardware, after getting to the 2nd stage the computer resets. Is there any thing I should do so it can work in a real device? Upd...