[Ohrrpgce] SVN: teeemcee/7937 Change the placer() array format used by stosprite/loadsprite/getsprite/

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sat Apr 9 00:30:14 PDT 2016


teeemcee
2016-04-09 00:30:14 -0700 (Sat, 09 Apr 2016)
546
Change the placer() array format used by stosprite/loadsprite/getsprite/drawsprite to match the .PT# file format

In the file format, nibbles are stored in bytes in the order 0x01 0x23 0x45 0x67
which actually corresponds to 16 bit integers (because x86 is little endian) as
0x2301 0x6745.
Previously, the in-memory format was to store nibbles in 32 bit integers
like 0x00000123 0x00004567, which I've changed to 0x00002301 0x00006745, so
that it can more easily be passed to storerecord/loadrecord.

However this is a bit of a waste of effort...
---
U   wip/allmodex.bas


More information about the Ohrrpgce mailing list