diff options
author | Jeffrey Armstrong <jeff@approximatrix.com> | 2024-11-13 17:08:47 -0500 |
---|---|---|
committer | Jeffrey Armstrong <jeff@approximatrix.com> | 2024-11-13 17:08:47 -0500 |
commit | a12b553ffbb45f20edbbe4255a07c3fa8a574b30 (patch) | |
tree | a2e8d9a9ee12fe70a6938c7d5fd233b86455c76e /asm/386q.asm | |
parent | 41d6a33d31d348563a9c97b7cf25752e8e64f599 (diff) | |
download | GWFetch-a12b553ffbb45f20edbbe4255a07c3fa8a574b30.tar.gz GWFetch-a12b553ffbb45f20edbbe4255a07c3fa8a574b30.zip |
Fixed check for NEC vs Intel
Diffstat (limited to 'asm/386q.asm')
-rw-r--r-- | asm/386q.asm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/asm/386q.asm b/asm/386q.asm index bf58033..250825a 100644 --- a/asm/386q.asm +++ b/asm/386q.asm @@ -61,8 +61,12 @@ lessthantwoeightsix: mov si, 0
mov cx, 0xffff ;0ffffh
+
;rep lods [BYTE PTR es:si]
- rep lodsb
+ ; INLINE assembler doesn't understand above - must be replaced after...
+ ; because we need a lods with ES as a parameter
+ ; so drop a 3-byte nonsense call to be replaced
+ mov cx, 0x0f99 ; replace with 0xF3, 0x26, 0xAC
pop si
|