mirror of
https://github.com/irmen/prog8.git
synced 2024-12-19 13:30:55 +00:00
c64 diskio: Always call CLRCHN before CHKIN/CHKOUT calls
this seems to work around a Vice emulator issue when using host filesystem disk emulation. Fixes #156
This commit is contained in:
parent
1ebfff7c7b
commit
25b1043572
@ -14,10 +14,12 @@ diskio {
|
||||
ubyte @shared drivenumber = 8 ; user programs can set this to the drive number they want to load/save to!
|
||||
|
||||
sub reset_read_channel() {
|
||||
cbm.CLRCHN()
|
||||
void cbm.CHKIN(READ_IO_CHANNEL)
|
||||
}
|
||||
|
||||
sub reset_write_channel() {
|
||||
cbm.CLRCHN()
|
||||
cbm.CHKOUT(WRITE_IO_CHANNEL)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user