Commits (2)
-
Robert Sprowson authored
PRM 2-612 says the device driver can modify R3-R6 during buffer creation in order to change the buffer creation parameters used with BufferManager. However, the subsequent logic in DeviceFS meant that if the buffer already existed the flags (R3) never got used. In practice this only affects the magic buffer numbers 0-9 retained for BBC Micro compatibility (Keyboard/Serial in/Serial out/Printer/Sound 0-3/Speech/Mouse), and of those only Serial & Parallel are in DeviceFS, and of those Parallel had a workaround, so really only the SerialDeviceDriver gains a fix here. Tested in an IOMD ROM. Version 0.72. Tagged as 'DeviceFS-0_72'
54e89e2f -
ROOL authored
Detail: The Unlink macro also released the memory back to the RMA, but in 2 cases passed the old pointer around in a service call. Change Unlink to only remove from the linked list, and add a Free macro to do the release after the service call. Admin: Spotted by Colin Granville. Version 0.73. Tagged as 'DeviceFS-0_73'
5cfd49c3
Showing