Hello
I want to do a loader calling |cpm, then when the code is executing, I try to read a file from disc with this code:
;; in
;; hl - name
;; b - name length
;; de - destinatin address memory
load_bin:
call &bc77 ;cas in open
ex de, hl
call &bc83 ;cas in direct
call &bc7a ;cas in close
ret
but, when I execute I get "Press PLAY then any key:"
What is happening? I'm following the book of DATA BECKER (https://cpcrulez.fr/book_german-floppy_buch.htm)
I'd have to look up the disc routines to really help you but my first observation is that the routines you're calling are cassette routines.
It seems when you type |cpm roms are deactivated :/
Disk Rom is also disabled after a normal run"Test" you have to reenable it afaik ....
http://www.cpcmania.com/Docs/Programming/Files.htm