flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 09 Feb 2008, 20:08
Have a look here for macros to ensure you only use 80286 codes. It has been extensively tested on real 80286's with no problem. You can't accidentally use eax or jmp dword xx etc.
I suspect the main problem is the jcc, this is a problem I also had with a genuine 80286 and I solved it with the macros in the link. |
|||
![]() |
|
Meister 09 Feb 2008, 20:17
Thank you very much. I will try it
![]() |
|||
![]() |
|
rugxulo 13 Feb 2008, 05:32
Tell us if it works. Oh, and a screenshot or two wouldn't hurt.
![]() (just glad to find another 16-bit person, heh) P.S. Ever seen MikeOS? (NASM but still good, heh) |
|||
![]() |
|
Dex4u 13 Feb 2008, 16:44
Maybe MiniDos may help, (a 2k Dos clone, coded in fasm).
http://board.flatassembler.net/topic.php?t=5275 |
|||
![]() |
|
rugxulo 14 Feb 2008, 18:41
It's true, FASM will generate 386+ jumps if it doesn't fit. Your best bet (besides above-mentioned macros or MCD's ONLY8086.INC) is to explicitly say "ja short Mylabel". At least then it will give you an error if it won't fit. (A simple regex search/replace via sed or your favorite editor should fix all such jump instructions in your sources for you.)
|
|||
![]() |
|
Meister 03 May 2008, 20:48
Sorry for the long break, I've took. But now, I'm back and the OS is still in Development
![]() ![]() At first, the Bootloader enables the A20-line, check the state and reads the kernel (at the moment 10,5K). Then the kernel is moved to the first 64K above the 1M. The Kernel is now active, checks the memory-config, and loads the command-line interpreter (about 5k) from disk. The SHELL executes a start-script, if available, and after that, SHELL is waiting for input ![]() ![]()
|
||||||||||
![]() |
|
rugxulo 05 May 2008, 17:52
Looks nice. Good luck to you!
![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.