kervinck / gigatron-rom

System, apps and tooling for the Gigatron TTL microcomputer
BSD 2-Clause "Simplified" License
229 stars 79 forks source link

Pull request sys oscall #219

Closed lb3361 closed 2 years ago

lb3361 commented 2 years ago

Two small changes that are not urgent.

SYS_OsCall -
This is a helper to call OS routines hidden in bank3 and return safely if not found.

Simplifications to SYS_CopyMemoryExt - This speeds up the copy of small chunks and has the side effect of disabling zpbank avoiding headaches with the shape of the from and to address space. In return, this function should no longer called whithout an expansion board (same as SYS_ExpanderControl or SYS_SpiExchangeBytes) and temporarily disables all SPI devices while it is copying (minor documented constraint).

lb3361 commented 2 years ago

Not ready. Will reopen when appropriate