From: Jonathan Campbell Date: Thu, 21 Apr 2016 13:31:23 +0000 (-0700) Subject: replace inline asm with _fmemcpy to copy ROM font char. X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=9b04963a6305b545154a2e962e89e7a80de28752;hp=9b04963a6305b545154a2e962e89e7a80de28752;p=16.git replace inline asm with _fmemcpy to copy ROM font char. add reminder that it might be faster for modexDrawChar to point directly at ROM font char. the reason for replacing the inline assembly is that the original code acted without saving/restoring CPU registers that the C compiler optimization stage assumes holds results from previous C compiler generated code. corruptiong the optimizer's expectations is the reason why all code using modex (and assuming things about DS and ES) is the reason all game code was blowing up. this fix makes things stable again. ---