mirror of
https://github.com/irmen/prog8.git
synced 2025-08-05 06:28:20 +00:00
diskio read & write routines now always reset the io channels back to the defaults before returning
This means you don't have to call CLRCHN yourself anymore inbetween if you want to do screen output or keyboard input while a file is open
This commit is contained in:
@@ -525,11 +525,6 @@ to see what's in there. (Note: slight variations for different compiler targets)
|
||||
You can set the active disk drive number, so it supports multiple drives, just one at a time.
|
||||
It does not support reading from more than one file or writing to more than one file at a time.
|
||||
|
||||
.. note::
|
||||
If you want to print text to the screen, or do keyboard input, while reading or writing an open file is in progress,
|
||||
you should use ``cbm.CLRCHN()`` before doing so. This resets the default i/o channels to screen and keyboard.
|
||||
Diskio itself is smart enough to set them back to whatever is needed to continue reading/writing with the ``f_read`` or ``f_write`` routines.
|
||||
|
||||
.. attention::
|
||||
Error handling is peculiar on CBM dos systems (C64, C128, cx16, PET). Read the
|
||||
descriptions for the various methods in this library for details and tips.
|
||||
|
@@ -1,8 +1,6 @@
|
||||
TODO
|
||||
====
|
||||
|
||||
make a compiler switch to disable footgun warnings -ignorefootguns
|
||||
|
||||
update zsmkit to newest version that includes the on_deck routines when stabilized
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user