diff laseractive.h @ 2718:8ce5d1a7ef54

Initial work to integrate PAC-less LaserActive emulation
author Michael Pavone <pavone@retrodev.com>
date Wed, 16 Jul 2025 12:32:28 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/laseractive.h	Wed Jul 16 12:32:28 2025 -0700
@@ -0,0 +1,16 @@
+#ifndef LASERACTIVE_H_
+#define LASERACTIVE_H_
+
+#include "system.h"
+#include "upd78k2.h"
+
+typedef struct {
+	system_header   header;
+	upd78k2_context *upd;
+	uint8_t         upd_pram[768];
+	uint8_t         upd_rom[0xE000]; //ROM is actually 64K, but only first 56K are mapped in
+} laseractive;
+
+laseractive *alloc_laseractive(system_media *media, uint32_t opts);
+
+#endif //LASERACTIVE_H_