Browse Source

shave some bytes

- setting of SS is not interruptible, so no need to guard it;
- direction flag is cleared by BIOS code, even on the XT.
Peter Ferrie 3 years ago
parent
commit
d66e5d984f
2 changed files with 3 additions and 3 deletions
  1. BIN
      bin/sectorlisp.bin
  2. 3 3
      sectorlisp.S

BIN
bin/sectorlisp.bin


+ 3 - 3
sectorlisp.S

@@ -42,11 +42,11 @@ begin:	xor	%bx,%bx				# we use the tiny memory model
 	push	%cs				# that's the bios load address
 	pop	%es				# therefore NULL points to NUL
 	push	%cs				# terminated NIL string above!
-	cli					# disables hardware interrupts
+	#cli					# disables hardware interrupts
 	pop	%ss				# disable nonmaskable ones too
 	mov	%bx,%sp				# use highest address as stack
-	sti					# reenable hardware interrupts
-	cld					# normalize the direction flag
+	#sti					# reenable hardware interrupts
+	#cld					# normalize the direction flag
 	inc	%bx
 	inc	%bx
 main:	mov	$0x8000,%cx			# dl (g_look) is zero or cr