n72.75
Move slow and try not to break too much.
Orbiter Contributor
Addon Developer
Tutorial Publisher
Donator
- Joined
- Mar 21, 2008
- Messages
- 2,696
- Reaction score
- 1,355
- Points
- 128
- Location
- Saco, ME
- Website
- mwhume.space
- Preferred Pronouns
- he/him
I've just recently got back into 8086ASM and have decided to write a simple kernel that can accept commands from a shell, and schedule and execute binaries.
Just as a refresher, I wrote a simple Helloworld boot program:
Obviously, this is just a minimal, text printer but it provides anyone with no assembly experience, with a look at the code.
I would love it if we could make some sort of community project out of this.
Just as a refresher, I wrote a simple Helloworld boot program:
Code:
#make_boot#
ORG 7C00h
PUSH CS
POP DS
LEA SI, msg
MOV AH, 0Eh
print: MOV AL, [SI]
CMP AL, 0
JZ done
INT 10h
INC SI
JMP print
done: MOV AH, 0
INT 16h
MOV AX, 0040h
MOV DS, AX
MOV w.[0072h], 0000h
JMP 0FFFFh:0000h
new_line EQU 13, 10
msg DB 'Hello World!'
DB new_line, 'Press the any key to reboot', 0
Obviously, this is just a minimal, text printer but it provides anyone with no assembly experience, with a look at the code.
I would love it if we could make some sort of community project out of this.