Compare commits

...
Author SHA1 Message Date
James Gregory
4028269fe1
Merge pull request #43 from thp/code-fixes
Code fixes
2020-05-21 19:30:04 +10:00
Thomas Perl
d54e14ca74 CurrentColordb -> CurrentColor db 2020-05-21 11:25:45 +02:00
Thomas Perl
4b5c169695 COLOR_ENTRY_LENGTHequ -> COLOR_ENTRY_LENGTH equ 2020-05-21 11:25:15 +02:00
Thomas Perl
8d29240973 loopDrawDiagonalLoop -> loop DrawDiagonalLoop 2020-05-21 11:24:43 +02:00
Thomas Perl
7388cf370c loopVLineLoop -> loop VLineLoop 2020-05-21 11:24:18 +02:00
Thomas Perl
beff664727 labelbyte -> label byte 2020-05-21 11:23:42 +02:00
Thomas Perl
b9bf2eb0ed _DATAsegmentpublic -> _DATA segment public 2020-05-21 11:14:12 +02:00
Thomas Perl
1a87045a95 pus h -> push 2020-05-21 11:13:30 +02:00
Thomas Perl
28e420e665 Fix ASM OCR of macros 2020-05-21 11:13:06 +02:00
Thomas Perl
51194d4928 not40h -> not 40h 2020-05-21 11:12:28 +02:00
Thomas Perl
b96792917b Fix more ASM calling (OCR) 2020-05-21 11:12:10 +02:00
Thomas Perl
73e56070b4 Fix function calling (OCR) 2020-05-21 11:11:50 +02:00
Thomas Perl
6adf8f912b Fix cmpcx->cmp cx 2020-05-21 11:11:16 +02:00
Thomas Perl
f2025ac6e8 Add missing ; for ASM comment 2020-05-21 11:10:54 +02:00
Thomas Perl
700514a488 Code OCR fix: lodsbyte -> lods byte 2020-05-21 11:10:09 +02:00
Thomas Perl
f87c4484c2 Fix db512->db 512 2020-05-21 11:09:07 +02:00
Thomas Perl
2342c2d49d Fix typo 2020-05-21 11:08:49 +02:00
Thomas Perl
670082d347 Fix MAXIMUM_SCAN_LINEequ 2020-05-21 11:08:17 +02:00
Thomas Perl
03978b9651 Fix looping/calling OCR bugs 2020-05-21 11:07:47 +02:00
Thomas Perl
a4df877739 Datasegment -> Data segment 2020-05-21 11:07:02 +02:00
Thomas Perl
b3144a2145 Startproc near -> Start proc near 2020-05-21 11:06:40 +02:00
Thomas Perl
9072e5d500 Fix various (ends) code OCR errors 2020-05-21 11:06:10 +02:00
Thomas Perl
97d436fb73 Fix 'endp' -> ' endp'
Automatically done using:

    sed -i '' -e 's/\([^ ]\)endp/\1 endp/g' src/*.md
2020-05-21 10:55:36 +02:00
Thomas Perl
9373e5d2ee Fix 'procnear' -> ' proc near'
Automatically done using:

    sed -i '' -e 's/procnear/ proc near/g' src/*.md
2020-05-21 10:54:08 +02:00
12 changed files with 94 additions and 94 deletions

View file

@ -37,7 +37,7 @@ the way up to 360x480—and that's with the vanilla IBM VGA!
In this chapter, I'm going to focus on one of my favorite 256-color In this chapter, I'm going to focus on one of my favorite 256-color
modes, which provides 320x400 resolution and two graphics pages and can modes, which provides 320x400 resolution and two graphics pages and can
be set up with very little reof the VGA. In the next chapter, I'll be set up with very little reprogramming of the VGA. In the next chapter, I'll
discuss higher-resolution 256-color modes, and starting in Chapter 47, discuss higher-resolution 256-color modes, and starting in Chapter 47,
I'll cover the high-performance "Mode X" 256-color programming that many I'll cover the high-performance "Mode X" 256-color programming that many
games use. games use.
@ -341,7 +341,7 @@ LinesDone:
; ;
call GetNextKey call GetNextKey
mov ax,0003h mov ax,0003h
int 10h text mode int 10h ;text mode
mov ah,4ch mov ah,4ch
int 21h ;done int 21h ;done
; ;