bare_x86/16bit.Scratch.s

37 lines
1.1 KiB
ArmAsm
Raw Normal View History

2022-01-18 05:15:28 -08:00
; x86
; 16-bit - Real Mode, V86 Mode
%include "AAL.x86.S"
%include "AAL.x86.routines.macros.S"
;=============================================================================================================
; Entrypoint
2022-01-18 05:15:28 -08:00
;=============================================================================================================
start:
Video_SetTextMode_80x25
2022-01-18 14:15:16 -08:00
; Video_SetGraphicsMode_320x200
; Video_SetGraphicsMode_640x200
2022-01-18 05:15:28 -08:00
String_Out EntryMsg, [EntryMsg_len]
2022-01-18 05:15:28 -08:00
hang:
2022-01-18 05:15:28 -08:00
jmp short hang
;=============================================================================================================
; Data
;=============================================================================================================
EntryMsg : db 'Hello World!', char_LF, char_CR
EntryMsg_len : dw 14
2022-01-18 05:15:28 -08:00
%include "AAL.x86.routines.s"
2022-01-18 05:15:28 -08:00
;=============================================================================================================
; Wrap up
;=============================================================================================================
; Byte pad 512 bytes (zeroed)
times 512-$+start db 0