| 1 | structcxx . . $ `<file>/sfc/chip/sa1/sa1.hpp`/ SA1cxx . . $ SuperFamicom/SA1# : Processorcxx . . $ Processor/::R65816cxx . . $ Processor/R65816#, public Coprocessorcxx . . $ SuperFamicom/Coprocessor# { |
| 2 | MappedRAMcxx . . $ SuperFamicom/MappedRAM# romcxx . . $ SuperFamicom/SA1#rom.; |
| 3 | MappedRAMcxx . . $ SuperFamicom/MappedRAM# iramcxx . . $ SuperFamicom/SA1#iram.; |
| 4 | MappedRAMcxx . . $ SuperFamicom/MappedRAM# bwramcxx . . $ SuperFamicom/SA1#bwram.; |
| 5 | |
| 6 | #include "bus/bus.hpp"cxx . . $ `<file>/sfc/chip/sa1/bus/bus.hpp`/ |
| 7 | #include "dma/dma.hpp"cxx . . $ `<file>/sfc/chip/sa1/dma/dma.hpp`/ |
| 8 | #include "memory/memory.hpp"cxx . . $ `<file>/sfc/chip/sa1/memory/memory.hpp`/ |
| 9 | #include "mmio/mmio.hpp"cxx . . $ `<file>/sfc/chip/sa1/mmio/mmio.hpp`/ |
| 10 | |
| 11 | struct Statuscxx . . $ SuperFamicom/SA1#Status# { |
| 12 | uint8cxx . . $ uint8# tick_countercxx . . $ SuperFamicom/SA1#Status#tick_counter.; |
| 13 | |
| 14 | bool interrupt_pendingcxx . . $ SuperFamicom/SA1#Status#interrupt_pending.; |
| 15 | |
| 16 | uint16cxx . . $ uint16# scanlinescxx . . $ SuperFamicom/SA1#Status#scanlines.; |
| 17 | uint16cxx . . $ uint16# vcountercxx . . $ SuperFamicom/SA1#Status#vcounter.; |
| 18 | uint16cxx . . $ uint16# hcountercxx . . $ SuperFamicom/SA1#Status#hcounter.; |
| 19 | } statuscxx . . $ SuperFamicom/SA1#status.; |
| 20 | |
| 21 | static void Entercxx . . $ SuperFamicom/SA1#Enter(49f6e7a06ebc5aa8).(); |
| 22 | void entercxx . . $ SuperFamicom/SA1#enter(49f6e7a06ebc5aa8).(); |
| 23 | void tickcxx . . $ SuperFamicom/SA1#tick(49f6e7a06ebc5aa8).(); |
| 24 | void op_irqcxx . . $ SuperFamicom/SA1#op_irq(49f6e7a06ebc5aa8).(); |
| 25 | |
| 26 | alwaysinlinecxx . . $ `nall/platform.hpp:81:11`! void trigger_irqcxx . . $ SuperFamicom/SA1#trigger_irq(49f6e7a06ebc5aa8).(); |
| 27 | alwaysinlinecxx . . $ `nall/platform.hpp:81:11`! void last_cyclecxx . . $ SuperFamicom/SA1#last_cycle(49f6e7a06ebc5aa8).(); |
| 28 | alwaysinlinecxx . . $ `nall/platform.hpp:81:11`! bool interrupt_pendingcxx . . $ SuperFamicom/SA1#interrupt_pending(c9857a73d68e59ba).(); |
| 29 | |
| 30 | void initcxx . . $ SuperFamicom/SA1#init(49f6e7a06ebc5aa8).(); |
| 31 | void loadcxx . . $ SuperFamicom/SA1#load(49f6e7a06ebc5aa8).(); |
| 32 | void unloadcxx . . $ SuperFamicom/SA1#unload(49f6e7a06ebc5aa8).(); |
| 33 | void powercxx . . $ SuperFamicom/SA1#power(49f6e7a06ebc5aa8).(); |
| 34 | void resetcxx . . $ SuperFamicom/SA1#reset(49f6e7a06ebc5aa8).(); |
| 35 | |
| 36 | void serializecxx . . $ SuperFamicom/SA1#serialize(60809b9a0cf3e534).(serializercxx . . $ nall/serializer#&); |
| 37 | }; |
| 38 | |
| 39 | extern SA1cxx . . $ SuperFamicom/SA1# sa1cxx . . $ SuperFamicom/sa1.; |