Add a couple useful tools

This commit is contained in:
2025-10-01 23:22:56 +02:00
parent 806d87e0f1
commit b0d57c1c96
2 changed files with 23 additions and 0 deletions

10
runcomm.asm Normal file
View File

@@ -0,0 +1,10 @@
CPU 8086
mov cx, 0x100
a:
mov ah, 0x07
int 0x80
test al, al
loopnz a
b:
ret

13
trampoline.asm Normal file
View File

@@ -0,0 +1,13 @@
CPU 8086
src equ 0xf000
dest equ 0x0600
size equ 0x0600
_start:
mov cx, size
mov si, src
mov di, dest
rep movsb
mov ax, dest
jmp ax