So if you have problem running any of the programs just let me know and I'll try to help.
Printable View
So if you have problem running any of the programs just let me know and I'll try to help.
For your reference: I've completed the whole course 630 pages of text and now I'm condensing everything within 1 page for you on this website.
Okay 2 pages hehe
8086 instructions
I've found the above link. I think it should be somewhat compatible with the assembly language for the 8086 chip set. The official Borland Turbo Assembler 4.1 and the official Borland Turbo C 2.01 works together to produce assembly language for the 8086 chip. However Borland products are a commercial product and must be purchased through Embarcadero. There are free assemblers out there like the flat assembler and so on, but I don't know how good they are. This is the end of the line for this post. I've taken you where I can legally. Now if you wish to pursue programming in the 8086 chip any longer you should purchase Borland's product. Otherwise try the free FLAT assembler for what it could get you.
This is starting to get into real world application using assembly language. Remember assembly language is one step less compex than machine language. JESUS!Code:p8086
model small
codeseg
startupcode
mov al, 19
mov ah, 0
int 10h
continue:
cmp xdir, 1
jne skippedreverse
inc xpos
cmp xpos, 320
jl skippedreverse
mov xdir, 0
skippedreverse:
cmp xdir, 0
jne skippedforward
dec xpos
cmp xpos, word ptr 0
jg skippedforward
mov xdir, 1
skippedforward:
cmp ydir, 0
jne skippedup
dec ypos
cmp ypos, word ptr 0
jg skippedup
mov ydir, 1
skippedup:
cmp ydir, 1
jne skippeddown
inc ypos
cmp ypos, word ptr 200
jl skippeddown
mov ydir, 0
skippeddown:
mov al, cpos
mov cx, xpos
mov dx, ypos
mov ah, 0ch
int 10h
dec cx
mov al, 0
int 10h
inc cx
inc cx
int 10h
mov cx, xpos
mov dx, ypos
inc dx
int 10h
dec dx
dec dx
int 10h
mov ah, 0
int 16h
cmp ah, 57
jne continuea
cmp al, 32
jne continuea
mov xdir, 2
mov ydir, 2
continuea:
cmp ah, 30
jne continued
cmp al, 97
jne continued
dec xpos
continued:
cmp ah, 32
jne continues
cmp al, 100
jne continues
inc xpos
continues:
cmp ah, 17
jne continuew
cmp al, 119
jne continuew
dec ypos
continuew:
cmp ah, 31
jne continuep
cmp al, 115
jne continuep
inc ypos
continuep:
cmp ah, 25
jne quit
cmp al, 112
jne quit
mov al, 19
mov ah, 0
int 10h
quit:
cmp ah, 16
jne precontinue
cmp al, 113
jne precontinue
jmp exitprg
precontinue:
jmp continue
exitprg:
mov al, 3
mov ah, 0
int 10h
mov ah, 4ch
int 21h
xpos DW 2
ypos DW 10
cpos DB 14
xdir DB 2
ydir DB 2
end
God, Jesus Christ, is number one! Bless GOD, Jesus Christ, The Holy Spirit, and Mary. Then bless my real mom Huong Thi Thuyen Vu. Honours to my real mom Huong Thi Thuyen Vu. Honours to my real dad Nguyen Binh Thuy. Congratulations to my real two sisters Nguyen Khoa Thi and Nguyen Khoa Thuyen. Thank you GOD, Jesus Christ, The Holy Spirit and Mary for my real family I just mentioned. The reason I am happy is I am programming in Borland Turbo C 2.01 and Borland Turbo Assembler 4.1 succeeding thanks to GOD, Jesus Christ, Mary, and The Holy Spirit. Only GOD who created all people deserves respect!!!!!!!!!!!! Only GOD who created all people is good!
Okay! Down to business... actually our hobby. You know stamp collectors have cool stamps. So that is their hobby and their talent. My hobby is Borland Turbo Assembler 4.1 and Borland Turbo C 2.01. Look forward to many softwares from me in the future. Of course it's not going to be overnight. Some games may never end up in the market. But I tell you what. I hope you like what comes out. It is a new era. If you are continuing to carry Windows XP (32bit versions) then you are going to be in for a surprise. Even though I program for the DOS era mainly I have been able to put in a calibration routine that allows it to artificially slow down the 16bit program for 32bitXP. The problem with programming for 16bit is that XP will make it travel too fast. So it needs a simple algorithm to slow down. That solves the problem for modern systems. Windows 10 used to carry a patch that allows 16bit applications to run. However Microsoft has taken it off last time I used it. It is ashame because you can continue to calculate even algebraic equations in DOS. It has been said by those who do not know that it is an obsolete language. It is not obsolete when you can continue to develop practical softwares to get the job done. A case in point the Window XP program requires the speed because the program is bloated. However through careful attention to details you can make DOS applications fast enough to carry the job out. So look forward to my programs to be. Maybe months will pass when I have nothing to show. It is a simple thing to make games. However it just takes time.
The crowd are on the pitch, they think it's all over.
It is now.