flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Fasm supports Intel processors but what about amd? |
Author |
|
Redragon 05 May 2005, 02:48
when making an operating system in fasm it works fine under an intel processor, but not on an amd.. will this be fixed? thanks!
|
|||
05 May 2005, 02:48 |
|
Redragon 05 May 2005, 11:16
when i compile the operating system and test it on an intel processor, it works like it should, everything works great... but when i test it on an amd processor, it wont work right... hope this helps
|
|||
05 May 2005, 11:16 |
|
pelaillo 05 May 2005, 12:42
What opcode(s) is causing the problem?
|
|||
05 May 2005, 12:42 |
|
smiddy 05 May 2005, 17:21
I am having problems understanding this thread. So I'm going to ask some questions. Please answer them specifically and with examples.
1) Are you compiling on two different systems? One being AMD the other is an Intel? 2) What are the specific processors? 3) What code is failing? Please provide the code you are refering to. 4) How is the OS loaded? (GRUB, bootstrap code you made, etcetera) 5) What are the errors that you are expereiencing? Specifically what show up on the screen, printer, error log, etcetera. 6) How many bits is the OS? 8-bit, 16-bit, 32-bit, or 64-bit? All? 7) What is not working right, specifically? Don't just say the OS, say something like the memory manager within the code doesn't assign memory properly like it does on the Intel, or the console driver doesn't seem to write anything to the screen only on the AMD. You know, something along those lines. Perhaps answering these questions specifically might help us to help you. From what you've written I can not ascertain much. You have two processor in which you test on, and you're using FASM to compile your code. It seems that the Intel processor runs the code ok, but the AMD doesn't, without specifying what is failing. |
|||
05 May 2005, 17:21 |
|
Redragon 05 May 2005, 20:30
Quote: 1) Are you compiling on two different systems? One being AMD the other is an Intel? What the code does is, loads up real mode, vesa, A20, proctected mode.. it draws a bg color on the screen, and a small taskbar at the bottom with the text, menu on it.. 1.) I'm compiling on one system, my laptop, which has a pentium 4 2.8ghz 2.) Pentium 4 2.8ghz (my laptop) The computer that i test the complied code on is an AMD, i dont know the spesifications 3.) The code compiles fine, but when the OS boots on the AMD, the screen goes blue, then restarts.. but when testing on an Intel works fine 4.) the OS is loaded by a floppy 5.) answered in 3 6.) it uses 32 7.) answered in 3 |
|||
05 May 2005, 20:30 |
|
bogdanontanu 05 May 2005, 23:28
Probably it is a mistake in your OS (some wrong assumptions you make) and you think that FASM is not supporting AMD... i imagine you are joking
On how many computer have you really thested your "OS" ? I takes a lot of testing on a lot of different computers to find all the possible problems or bugs inside and OS... I usually test on P1,P2,P3,P4 for Intel and Duron, Thunderbird from AMD Are you using something specific to P4 only ? like some SSE or MMX2 extensions without first checking IF the CPU has such features? |
|||
05 May 2005, 23:28 |
|
f0dder 06 May 2005, 06:38
It's more likely he has interrupts enabled without setting up proper handlers, and it miraculously works on the intel because no ints are fired
|
|||
06 May 2005, 06:38 |
|
smiddy 06 May 2005, 09:35
FASM is not your problem. It is your code. You'll have to troubleshoot it.
|
|||
06 May 2005, 09:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.