fvdhoef / aquarius-plus

Official Aquarius+ repository
MIT License
43 stars 9 forks source link

ESP32 SEEK command not returning a result code. #57

Closed RevCurtisP closed 9 months ago

RevCurtisP commented 9 months ago

After issuing the command $14 and the 4-byte file position, my code is waiting for a return code as specified in the documentation, no return code is ever received. The file position is being changed as expected.

fvdhoef commented 9 months ago

Can you please compare your code with https://github.com/fvdhoef/aquarius-plus/blob/master/SDK/asm/projects/cpm/bios.inc#L705 ? CP/M is using SEEK extensively and it is working fine there.

The command is $14, then the file descriptor, then the 4 byte file position. Maybe you forget to send the file descriptor?

RevCurtisP commented 9 months ago

I looked at the code again and it is getting a result.