| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Force close a MDOS sessi |
On Monday, 96/06/03, Mike Bilow wrote to David Noon about "Force close
a MDOS sessi" as follows:
MB> However, you have
MB> an endian bug here, since the image equivalent of "DB 02h,0FDh" is
MB> correctly "DW 0FD02h".
Hi Mike,
My copy of MASM doesn't reverse bytes when coding in hex. Neither did
BCAF 3.1, which uses TASM.
I converted these instructions into a clone of EXIT_VDM.COM. I attach
an assembly listing of this instruction sequence from MASM 6.11. The
DW in question is at location 0103.
Perhaps Microsoft, Borland and I are all wrong.
Regards
Dave
=============================================================================
Microsoft (R) Macro Assembler Version 6.11 06/06/96
23:17:29 EXIT_VMB.ASM Page 1 - 1
; Cobbled version of EXIT_VDM.COM, called
EXIT_VMB.COM
.MODEL TINY
0000 .CODE
.STARTUP
0100 *{at}Startup:
0100 3 33 C0 XOR AX,AX
0102 2 F4 HLT
0103 02FD DW 02FDH
.EXIT
0105 4 B4 4C * mov ah, 04Ch
0107 51 CD 21 * int 021h
END
===========================================================================
* KWQ/2 1.2i * If God had wanted metric, He'd have given us ten commandments!
--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 @PATH: 440/4 141/209 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.