I have a ensambler code but I don´t know covert to Blitz.
Can you help me, please?
Thanks
For example:
L_040C:
mov di,0000h
mov cx,0600h
cld
rep movsb
pop di
pop si
ret
L_0418:
push si
push di
mov ah,00
mov ds:[0AF63h],ah
mov bx,0101h ;ds:[0F87h]
mov ax,0B00h
int 10h
mov si,0DDAAh
jmp L_040C
(Stops laughing)
You can't just convert assembler (not ensambler) to Blitz code...
It is better to just recreate what the assembler code does by writing the Blitz code from scratch.
"ensambler" hehehehe MUuhahahahahaha.. MUHAHahahaha....
Sorry....
Much quicker to just rewrite whatever it does mate :)
Its easy. I converted it to Blitz code for you.
Print "ah"
GFK,
Can you help me in convert to Blitz?
Thanks
Il add here that a huge chunk of assembler just wont be possible to even rewrite in blitz never mind converting...
blitz just doesnt have such low level access..
You may consider writing a DLL maybe...
blitz does not allow to execute commands found in assembler, so it will not be possible. Assembler does execute Processor Commands directly. In Assebler you can for example redirect hardware interrupts, that's not possible in Blitz. Why don't you tell us, what the assembler program is for, so we can tell you if it can be done in blitz somehow at all.
GFK,
Can you help me in convert to Blitz?
No. It was a joke.