How to load part of a file into memory? in X16 Programming Support Posted 18 hours ago On 11/25/2022 at 12:52 PM, neutrino said: Perhaps an idea to implement "seek()" in the Kernal? Basic? No. That's not how Commodore disk access works, and it never has been. There's a perfectly accessible method of doing so already, by sending a command on the command channel. The whole design of Commodore's disk system is for the disk drive to handle the complex side of the operation, and for the computer itself to just provide a dumb communication channel, so aside from the basic I/O commands (LOAD, SAVE, OPEN, PRINT#, INPUT#, GET), there is no need or expectation of things like record handling for REL files, seeking in sequential files, or things on the printers, like changing fonts or printing bitmapped graphics. That's why the command channel exists - to allow the I/O device to handle those things on its own, without needing a command for everything on the host system. If you need a "Seek" command in BASIC, you can implement it as a subroutine. If you need a SEEK command in machine language, you an implement it as a subroutine. If you need a seek command in C or Pascal... you can implement it as subroutines. There's no need to add device-specific commands to the KERNAL or BASIC, since once you start down that path, it never ends.