- Get MasmBasic (http://www.masm32.com/board/index.php?topic=12460), extract to the root of your Masm32 drive, "use folder names" on
- extract the attachment, "use folder names" on
- drag \masm32\RichMasm\Dracula.asc over RichMasm.exe
- you will see a slightly modified version of your code - see in particular lines 600ff
- hit F6
You should see
Let's try:
Received: [\masm32\MasmBasic\test.txt ] (the blank is Ascii 0)
There was an Error in Creating.
Now try to solve this one...
Quote ;;;;;;;;;;;;;;;;;;Create Output file;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
mov ah, 3Ch ; 3C to create a file
sub cx, cx
mov dx, OFFSET OutputFileName
; mov dx, Chr$("\masm32\MasmBasic\test.txt") ; for testing
; mov dx, Chr$("NewFile.txt") ; ERROR... why?
int 21h
jc CreateError