home *** CD-ROM | disk | FTP | other *** search
- ;-----------------------------------------------------------------------------
- ; ╘┌ Quick BASIC╓╨╝∞▓Θ╩╟╖±╘╦╨╨┴╦UCDOS╡─╠╪╩Γ╧╘╩╛│╠╨≥
- ;▒α╥δ╣²│╠:
- ; TASM TXBASIC
- ; TLINK /t/x TXBASIC
- ; REN TESTTX.COM TXBASIC.BIN
- ;╩╣╙├╖╜╖¿:
- ; ╜½TXBASIC.BIN╡──┌╚▌╢¿╥σ╬¬BASIC╡─╩²╛▌,╘┌BASIC╓╨╫░╚δ╩²╛▌,▓ó╓├╖╡╗╪╓╡
- ; ╡─╡╪╓╖. ╡≈╙├╒Γ╕÷│╠╨≥, ╖╡╗╪╓╡╬¬0╩▒▓╗╓º│╓, ╬¬1╩▒╓º│╓.
- ; ╟δ▓╬╝√BASIC╡─╠╪╧╘╩╛└²│╠╨≥TXDEMO1.BAS
- ;-----------------------------------------------------------------------------
- code segment
- org 100h
- assume cs:code,ds:code,es:code,ss:code
- start:
- push ax
- push bx
- push si
- mov si,0
- mov word ptr cs:[si],0
-
- mov ax,0db00h
- int 2fh
- cmp al,0ffh
- jnz Exit ;├╗╙╨╘╦╨╨║║╫╓╧╡═│
- cmp bx,5450h
- jnz Exit ;╖╟ UCDOS
-
- mov ax,11h
- int 79h
- jnz Exit ;├╗╙╨╘╦╨╨╠╪╩Γ╧╘╩╛
-
- mov word ptr cs:[si],1 ;╘╦╨╨┴╦╠╪╩Γ╧╘╩╛
- Exit:
- pop si
- pop bx
- pop ax
- retf
- code ends
- end start
-
-