From: Richard W.M. Jones Date: Fri, 25 Oct 2019 17:18:28 +0000 (+0100) Subject: Assemble at 7c00h. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=d07874ea22557bf2ebda08dbf84702f19a494256;p=pyrit.git Assemble at 7c00h. --- diff --git a/pyrit.asm b/pyrit.asm index 603d8da..edfab47 100644 --- a/pyrit.asm +++ b/pyrit.asm @@ -12,7 +12,17 @@ ; In memory it looks like {Z X Y}, which saves a displacement byte. ; (u'v) is the dot product: ux*vx + uy*vy + uz*vz. -org 100h ; assume al=0 bx=0 sp=di=-2 si=0100h bp=09??h + org 0x7c00 + xor ax,ax + xor bx,bx + mov cx,0ffh + mov di,-2 +; mov ss,dx + mov sp,di + mov si,100h + mov bp,091ch + +; assume al=0 bx=0 sp=di=-2 si=0100h bp=09??h ;Set video mode and earth+sky palette dec di ; u16[100h] = -20401, u16[10Ch] = -30515 @@ -242,3 +252,6 @@ B: mov [di],ah ; pushed al = tex*y E:ret + + times 510-($-$$) db 0 + db 0x55,0xaa