1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-26 13:18:31 +00:00

Optimized get_ostype() return values for asm usage.

Making sure that all but //c machines have bit 6 clear allows to use BIT/BVS to detect the //c machines.
This commit is contained in:
Oliver Schmidt
2020-06-14 21:54:33 +02:00
parent 2acb3b153b
commit 6adf175691
2 changed files with 12 additions and 12 deletions
+6 -6
View File
@@ -111,12 +111,12 @@
#define APPLE_IIIEM 0x20 /* Apple /// (emulation) */
#define APPLE_IIE 0x30 /* Apple //e */
#define APPLE_IIEENH 0x31 /* Apple //e (enhanced) */
#define APPLE_IIECARD 0x40 /* Apple //e Option Card */
#define APPLE_IIC 0x50 /* Apple //c */
#define APPLE_IIC35 0x51 /* Apple //c (3.5 ROM) */
#define APPLE_IICEXP 0x53 /* Apple //c (Mem. Exp.) */
#define APPLE_IICREV 0x54 /* Apple //c (Rev. Mem. Exp.) */
#define APPLE_IICPLUS 0x55 /* Apple //c Plus */
#define APPLE_IIECARD 0x32 /* Apple //e Option Card */
#define APPLE_IIC 0x40 /* Apple //c */
#define APPLE_IIC35 0x41 /* Apple //c (3.5 ROM) */
#define APPLE_IICEXP 0x43 /* Apple //c (Mem. Exp.) */
#define APPLE_IICREV 0x44 /* Apple //c (Rev. Mem. Exp.) */
#define APPLE_IICPLUS 0x45 /* Apple //c Plus */
#define APPLE_IIGS 0x80 /* Apple IIgs */
#define APPLE_IIGS1 0x81 /* Apple IIgs (ROM 1) */
#define APPLE_IIGS3 0x83 /* Apple IIgs (ROM 3) */