]> git.sur5r.net Git - cc65/blobdiff - include/6502.h
Now tgi_clear() works
[cc65] / include / 6502.h
index 70641851644e31081289111e9c889191e014e851..642a608a8b06539e717e7fcc2e2ae7ab197b51c1 100644 (file)
@@ -50,6 +50,11 @@ typedef unsigned size_t;
 #define CPU_6502        0
 #define CPU_65C02       1
 #define CPU_65816       2
+#define CPU_4510        3
+#define CPU_65SC02      4
+#define CPU_65CE02      5
+#define CPU_HUC6280     6
+#define CPU_2A0x        7
 
 unsigned char getcpu (void);
 /* Detect the CPU the program is running on */
@@ -82,21 +87,21 @@ struct regs {
 #define F6502_C         0x01    /* C flag */
 
 /* Function to call any machine language subroutine. All registers in the
- * regs structure are passed into the routine and the results are passed
- * out. The B flag is ignored on input. The called routine must end with
- * an RTS.
- */
+** regs structure are passed into the routine and the results are passed
+** out. The B flag is ignored on input. The called routine must end with
+** an RTS.
+*/
 void __fastcall__ _sys (struct regs* r);
 
 
 
 /* Set and reset the break vector. The given user function is called if
- * a break occurs. The values of the registers may be read from the brk_...
- * variables. The value in brk_pc will point to the address that contains
- * the brk instruction.
- * The set_brk function will install an exit handler that will reset the
- * vector if the program ends.
- */
+** a break occurs. The values of the registers may be read from the brk_...
+** variables. The value in brk_pc will point to the address that contains
+** the brk instruction.
+** The set_brk function will install an exit handler that will reset the
+** vector if the program ends.
+*/
 
 extern unsigned char brk_a;     /* A register value */
 extern unsigned char brk_x;     /* X register value */