*/
Got something to write about? Check out our Article Builder.
*/

View \SYSTEM.ASM

TinyRTL v.1.0 (TP7.0)

Submitted By: Unknown
Rating: (Not rated) (Rate It)


.model small
.code

public HaltError, HaltTurbo
extrn _Vars:abs, _Consts:abs ; We need 2 ensure th@ vars & consts R linked in

HaltError:
HaltTurbo:
mov  ax,4C00h+_Vars-_Vars ; C00l, eh?
int  21h

dw   _Consts ; This trick doesn't work with consts, we lose two bytes here :(

end

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.