| 1 | structcxx . . $ `<file>/sfc/chip/sdd1/sdd1.hpp`/ SDD1cxx . . $ SuperFamicom/SDD1# { |
| 2 | MappedRAMcxx . . $ SuperFamicom/MappedRAM# romcxx . . $ SuperFamicom/SDD1#rom.; |
| 3 | MappedRAMcxx . . $ SuperFamicom/MappedRAM# ramcxx . . $ SuperFamicom/SDD1#ram.; |
| 4 | |
| 5 | void initcxx . . $ SuperFamicom/SDD1#init(49f6e7a06ebc5aa8).(); |
| 6 | void loadcxx . . $ SuperFamicom/SDD1#load(49f6e7a06ebc5aa8).(); |
| 7 | void unloadcxx . . $ SuperFamicom/SDD1#unload(49f6e7a06ebc5aa8).(); |
| 8 | void powercxx . . $ SuperFamicom/SDD1#power(49f6e7a06ebc5aa8).(); |
| 9 | void resetcxx . . $ SuperFamicom/SDD1#reset(49f6e7a06ebc5aa8).(); |
| 10 | |
| 11 | uint8cxx . . $ uint8# readcxx . . $ SuperFamicom/SDD1#read(32407b39b2dfce37).(unsigned addr); |
| 12 | void writecxx . . $ SuperFamicom/SDD1#write(cc289a6b3dfc48da).(unsigned addr, uint8cxx . . $ uint8# data); |
| 13 | |
| 14 | uint8cxx . . $ uint8# mmc_readcxx . . $ SuperFamicom/SDD1#mmc_read(32407b39b2dfce37).(unsigned addr); |
| 15 | |
| 16 | uint8cxx . . $ uint8# mcurom_readcxx . . $ SuperFamicom/SDD1#mcurom_read(32407b39b2dfce37).(unsigned addr); |
| 17 | void mcurom_writecxx . . $ SuperFamicom/SDD1#mcurom_write(cc289a6b3dfc48da).(unsigned addr, uint8cxx . . $ uint8# data); |
| 18 | |
| 19 | uint8cxx . . $ uint8# mcuram_readcxx . . $ SuperFamicom/SDD1#mcuram_read(32407b39b2dfce37).(unsigned addr); |
| 20 | void mcuram_writecxx . . $ SuperFamicom/SDD1#mcuram_write(cc289a6b3dfc48da).(unsigned addr, uint8cxx . . $ uint8# data); |
| 21 | |
| 22 | void serializecxx . . $ SuperFamicom/SDD1#serialize(60809b9a0cf3e534).(serializercxx . . $ nall/serializer#&); |
| 23 | |
| 24 | private: |
| 25 | uint8cxx . . $ uint8# sdd1_enablecxx . . $ SuperFamicom/SDD1#sdd1_enable.; //channel bit-mask |
| 26 | uint8cxx . . $ uint8# xfer_enablecxx . . $ SuperFamicom/SDD1#xfer_enable.; //channel bit-mask |
| 27 | bool dma_readycxx . . $ SuperFamicom/SDD1#dma_ready.; //used to initialize decompression module |
| 28 | unsigned mmccxx . . $ SuperFamicom/SDD1#mmc.[4]; //memory map controller ROM indices |
| 29 | |
| 30 | structcxx . . $ SuperFamicom/SDD1#$anonymous_type_0# { |
| 31 | unsigned addrcxx . . $ SuperFamicom/SDD1#$anonymous_type_0#addr.; //$43x2-$43x4 -- DMA transfer address |
| 32 | uint16cxx . . $ uint16# sizecxx . . $ SuperFamicom/SDD1#$anonymous_type_0#size.; //$43x5-$43x6 -- DMA transfer size |
| 33 | } dmacxx . . $ SuperFamicom/SDD1#dma.[8]; |
| 34 | |
| 35 | public: |
| 36 | #include "decomp.hpp"cxx . . $ `<file>/sfc/chip/sdd1/decomp.hpp`/ |
| 37 | Decompcxx . . $ SuperFamicom/SDD1#Decomp# decompcxx . . $ SuperFamicom/SDD1#decomp.; |
| 38 | }; |
| 39 | |
| 40 | extern SDD1cxx . . $ SuperFamicom/SDD1# sdd1cxx . . $ SuperFamicom/sdd1.; |