annotate laseractive.h @ 2724:8d21e109e163 default tip

Fix mov sfr, a in uPD78K/II disassembler
author Michael Pavone <pavone@retrodev.com>
date Thu, 17 Jul 2025 15:03:08 -0700
parents 8ce5d1a7ef54
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2718
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
1 #ifndef LASERACTIVE_H_
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
2 #define LASERACTIVE_H_
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
3
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
4 #include "system.h"
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
5 #include "upd78k2.h"
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
6
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
7 typedef struct {
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
8 system_header header;
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
9 upd78k2_context *upd;
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
10 uint8_t upd_pram[768];
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
11 uint8_t upd_rom[0xE000]; //ROM is actually 64K, but only first 56K are mapped in
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
12 } laseractive;
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
13
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
14 laseractive *alloc_laseractive(system_media *media, uint32_t opts);
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
15
8ce5d1a7ef54 Initial work to integrate PAC-less LaserActive emulation
Michael Pavone <pavone@retrodev.com>
parents:
diff changeset
16 #endif //LASERACTIVE_H_