|
Revision 37dce9bacc049f5b4b6beeba0378ce785bb3cebb, 236 bytes
(checked in by H. Peter Anvin <hpa@…>, 3 years ago)
|
|
int18: module for local booting using INT 18h
At least until we can get a better handle on return vs INT 18h,
provide a module so we can at least tell people how to test.
Signed-off-by: H. Peter Anvin <hpa@…>
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | bits 16 |
|---|
| 2 | org 100h |
|---|
| 3 | _start: |
|---|
| 4 | mov ax,5 |
|---|
| 5 | int 22h |
|---|
| 6 | mov ah,09h |
|---|
| 7 | mov dx,msg |
|---|
| 8 | int 21h |
|---|
| 9 | mov ax,000Ch |
|---|
| 10 | xor dx,dx |
|---|
| 11 | int 22h |
|---|
| 12 | int 18h |
|---|
| 13 | jmp 0F000h:0FFF0h |
|---|
| 14 | |
|---|
| 15 | section .data |
|---|
| 16 | msg: db 'Local boot via INT 18...', 13, 10, '$' |
|---|