Forum: Assembly Dec 16th, 2008 |
| Replies: 6 Views: 728 well it's not a problem with TASM, since TASM compiled it fine and I unassembled it in DOS and all looked fine. At first I thought it was just the original problem, with the stack not unwinding, and... |
Forum: Assembly Dec 16th, 2008 |
| Replies: 6 Views: 728 thanks, it took me awhile to figure that one out, but it's fixed now. Any idea about the access denied error if the RET is at the bottom of the procedure? |
Forum: Assembly Dec 16th, 2008 |
| Replies: 6 Views: 728 so I figured out if I pop the stack into ax at the very beginning of the procedure (the return pointer), move that value into a variable I have saved, then push it back, then at the end of the... |
Forum: Assembly Dec 15th, 2008 |
| Replies: 6 Views: 728 haaaaallllpppp :(
---moar---
okay so, I SUPPOSE I could do something like,
outp proc
jmp stprc
fnprc: ret
stprc: |
Forum: Assembly Dec 15th, 2008 |
| Replies: 3 Views: 675 I was just confused as to the use of the functions and my code was a bit buggy.
after I called ah,03h int 10h, I needed to check that dh was not equal to 24d. If it was, equal to it, I had to... |
Forum: Assembly Dec 15th, 2008 |
| Replies: 6 Views: 728 so I have this working procedure that is basically like func. 09h of int 21h except it terminates at 00h, and it uses 01h-04h as control characters that determine the style of the text.
I wrote it... |
Forum: Assembly Dec 15th, 2008 |
| Replies: 3 Views: 675 nevermind, solved without help, bitches! |
Forum: Assembly Dec 15th, 2008 |
| Replies: 3 Views: 675 Sooooo I'm writing a program that involves a lot of writing to the screen and I want to do it at bios level. Mostly because the DOS calls can't do what I want to do, and also because I'm afraid to go... |
Forum: Assembly Dec 14th, 2008 |
| Replies: 2 Views: 1,106 yeah that seems right, also, I wasn't moving dx into al, I was trying to move the address contained in dx to al, "mov al,[dx]." I tried using si instead of dx and it seemed to work. Thanks. |
Forum: Assembly Dec 11th, 2008 |
| Replies: 2 Views: 1,106 so, I want to avoid using int 21h and start working with BIOS level code. I'm trying to write something equivalent to int 21h, function 09h, using int 10h functions 09h, 03h, and 02h, except I want... |
Forum: Assembly Dec 10th, 2008 |
| Replies: 0 Views: 427 I'm trying to output a hex value and TASM won't let me use any count on rotates and shifts other than 1. If I put rol dx,1h it works fine but if I put rol dx,4h it generates an error. So I have to... |
Forum: Assembly Dec 10th, 2008 |
| Replies: 2 Views: 1,092 |
Forum: Assembly Dec 8th, 2008 |
| Replies: 2 Views: 1,092 how do I do it?
I'm trying to make a conditional jump to a label:
jz newmm
but tasm says that the relative jump is out of range by 000D bytes. How do I change this to a long jump? How can I... |
Forum: Assembly Dec 8th, 2008 |
| Replies: 11 Views: 1,258 |
Forum: Assembly Dec 8th, 2008 |
| Replies: 6 Views: 650 wat
this is pretty easy...
it's a 3 byte variable which contains a symbol (0x00CD, or a double-line similar to an equals sign used to make box-drawings in console applications), a space, and a... |
Forum: Shell Scripting Dec 1st, 2008 |
| Replies: 4 Views: 1,155 |
Forum: Shell Scripting Nov 30th, 2008 |
| Replies: 4 Views: 1,155 thanks about the MSCDEX though I'm not too certain on its usage. As with vfd, it seems like it can only read and mount .img and .flp files and not actually create new archives |
Forum: Assembly Nov 30th, 2008 |
| Replies: 6 Views: 650 |
Forum: Assembly Nov 30th, 2008 |
| Replies: 11 Views: 1,258 pardon me,
wat* do you have against void main()? |
Forum: Assembly Nov 30th, 2008 |
| Replies: 11 Views: 1,258 what do you have against void main()? |
Forum: Shell Scripting Nov 30th, 2008 |
| Replies: 4 Views: 1,155 Wasn't sure where else I was supposed to put this but I recently installed VMware and a copy of MS-DOS 6.22 using .img files mounted to a virtual drive in the virtual machine. I have a couple... |
Forum: Assembly Nov 29th, 2008 |
| Replies: 11 Views: 1,258 |
Forum: Assembly Nov 20th, 2008 |
| Replies: 3 Views: 1,272 |
Forum: Assembly Nov 17th, 2008 |
| Replies: 3 Views: 1,272 also, when I compile a .com file with tasm and assume cs:main,ds:main,ss:main,es:main, then where does the stack go? I pushed "ABCDEF ab" to the stack and I just dumped the entire segment and can't... |
Forum: Assembly Nov 17th, 2008 |
| Replies: 3 Views: 1,272 I like writing assembly in debug under command prompt in windows, mostly because I don't have to worry about compiler rules and it's a lot better for learning how the processor works more in-depth...... |
Forum: Assembly Nov 13th, 2008 |
| Replies: 0 Views: 385 I wrote a quick program into the memory using debug in an ms-dos prompt.
It should output the alphabet in uppercase, and then in lowercase, like so
... |
Forum: Assembly Nov 12th, 2008 |
| Replies: 2 Views: 815 |
Forum: Assembly Nov 6th, 2008 |
| Replies: 0 Views: 324 I'm playing with assembler trying to get it figured out and I wrote this program that was supposed to have two values, 0 and 10, and add to the 1 and subtract from the 10 and loop, each time... |
Forum: Assembly Nov 5th, 2008 |
| Replies: 1 Views: 420 Okay, so I'm well read in VB and quite an avid VB programmer but I realize that programming in visual basic isn't very marketable and above all I only use it for fun. I wanted to move to C++ but... |
Forum: Assembly Nov 5th, 2008 |
| Replies: 3 Views: 999 |
Forum: Visual Basic 4 / 5 / 6 Nov 5th, 2008 |
| Replies: 11 Views: 1,082 ObjectName, if it's dim-ed as an object, has to actually point to an existing object. You can't just dim it and then try and make it invisible... say you want to create a label and have it referenced... |
Forum: Visual Basic 4 / 5 / 6 Oct 26th, 2008 |
| Replies: 11 Views: 1,082 you can't use string variables in place of an object name. I'm building a program that reads commands and scripts and can build new forms and objects after runtime- I have a generic form that is... |
Forum: Visual Basic 4 / 5 / 6 Oct 26th, 2008 |
| Replies: 0 Views: 959 I can't find out if a form is in focus in my code.
I have a form subclassed to catch an event that the form is being moved, so that I can have a separate form docked to it that moves along with it... |