Closed nkeck720 closed 7 years ago
It would appear that type is getting the carry flag back here for reasons that I don't know. I will have to step into the routine here to see what is going on.
type_file:
; Pointing at the space. Load up the file after the space
inc bx
push ds
push dx
push es
pop ds
mov dx, bx
; Use the program extra to load up to
mov bx, 6000h
mov es, bx
mov bx, 0000h
mov ah, 02h
int 21h
jc type_error
push ds
pop es
pop dx
pop ds
As it turns out the type command was producing stack overflows after several attempts. cleaned this up in commit 5e72ea0.
The type command does not work, it immediately dumps you back into the command line with no prompt. It does not break the system so it seems, but could be doing something I am not catching.