Chuck(G)
25k Member
You made me go back to my emulator code and yes, you're right. Too much time has passed:
Code:
; Move the command line, but translate to upper case and remove the
; carriage return at the end.
lodsb ; get the count
xor ah,ah
mov bx,ax
stosb ; store the count
add bx,di ; last+1 in control line
mov cx,(tpa-tbuf-1) ; count to move
Init_Request10:
lodsb ; get a byte
call ToUpper ; convert to uppercase
stosb
loop Init_Request10 ; loop...
mov byte ptr es:[bx],0 ; zero last+1 in control stmt