Re:SymbOS: Graphical Z80 Multitasking Operating System
by dfox on Friday January 05, 2018 @03:50PM
(#16081517)
You can still do that, even more so on systems with memory protection as you will not break OS's interrupt handlers by doing that.
Notably pixomatic (Rad Game Tools' SW rasterizer) compiles Direcd3D shaders into i386 code which uses ESP as general purpose register.
Also having polymorphic functions where you could write over a couple of bytes to make the function behave differently at runtime - saving code memory space - and learning the hex for most of the common opcodes at same time.