mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-07-16 20:47:21 +02:00
103 lines
2.0 KiB
NASM
103 lines
2.0 KiB
NASM
[map all]
|
|
BSS_START equ 0800h
|
|
LATEBSS_START equ 0B800h
|
|
TEXT_START equ 7C00h
|
|
STACK_SIZE equ 4096
|
|
STACK_START equ TEXT_START-STACK_SIZE
|
|
org TEXT_START
|
|
[section .text]
|
|
times 0x2410 db 0x1
|
|
[section .earlybss nobits start=BSS_START]
|
|
resb 0x40C4
|
|
[section .bcopy32 align=4 valign=16 follows=.data vfollows=.earlybss]
|
|
times 0x2A0 db 0x3
|
|
[section .config align=4 valign=16 follows=.bcopy32 vfollows=.bcopy32]
|
|
times 0x23 db 0x4
|
|
[section .config.end nobits valign=4 vfollows=.config]
|
|
[section .bss1 nobits valign=16 vfollows=.config.end]
|
|
resb 0x1FB
|
|
[section .text start=TEXT_START]
|
|
[section .data align=16]
|
|
times 0x590 db 0x2
|
|
[section .adv progbits align=1 follows=.config]
|
|
[section .bss nobits align=16 follows=.adv]
|
|
resb 0x3900
|
|
[section .stack nobits align=16 start=STACK_START]
|
|
resb STACK_SIZE
|
|
[section .stack nobits align=16 start=STACK_START]
|
|
[section .stack nobits align=16 start=STACK_START]
|
|
[section .earlybss]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .data]
|
|
[section .text]
|
|
[section .text]
|
|
[section .text]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .data]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .data]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .text]
|
|
[section .text]
|
|
[section .data]
|
|
[section .bss1]
|
|
[section .data]
|
|
[section .text]
|
|
[section .bss1]
|
|
[section .text]
|
|
[section .text]
|
|
[section .data]
|
|
[section .text]
|
|
[section .text]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .data]
|
|
[section .text]
|
|
[section .text]
|
|
[section .bss1]
|
|
[section .data]
|
|
[section .text]
|
|
[section .text]
|
|
[section .data]
|
|
[section .config]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .text]
|
|
[section .text]
|
|
[section .data]
|
|
[section .text]
|
|
[section .data]
|
|
[section .config]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .text]
|
|
[section .data]
|
|
[section .bss]
|
|
[section .bcopy32]
|
|
[section .data]
|
|
[section .bcopy32]
|
|
[section .earlybss]
|
|
[section .text]
|
|
[section .text]
|
|
[section .bss]
|
|
[section .data]
|
|
[section .bss1]
|
|
[section .text]
|
|
[section .data]
|
|
[section .bss1]
|
|
[section .text]
|
|
[section .bss]
|
|
[section .text]
|
|
[section .text]
|
|
[section .text]
|
|
[section .bss]
|
|
[section .data]
|