| 1 | classcxx . . $ `<file>/sfc/chip/cx4/cx4.hpp`/ Cx4cxx . . $ SuperFamicom/Cx4# : public Memorycxx . . $ SuperFamicom/Memory# { |
| 2 | public: |
| 3 | void initcxx . . $ SuperFamicom/Cx4#init(49f6e7a06ebc5aa8).(); |
| 4 | void loadcxx . . $ SuperFamicom/Cx4#load(49f6e7a06ebc5aa8).(); |
| 5 | void unloadcxx . . $ SuperFamicom/Cx4#unload(49f6e7a06ebc5aa8).(); |
| 6 | void powercxx . . $ SuperFamicom/Cx4#power(49f6e7a06ebc5aa8).(); |
| 7 | void resetcxx . . $ SuperFamicom/Cx4#reset(49f6e7a06ebc5aa8).(); |
| 8 | |
| 9 | uint8cxx . . $ uint8# readcxx . . $ SuperFamicom/Cx4#read(32407b39b2dfce37).(unsigned addr); |
| 10 | void writecxx . . $ SuperFamicom/Cx4#write(cc289a6b3dfc48da).(unsigned addr, uint8cxx . . $ uint8# data); |
| 11 | |
| 12 | void serializecxx . . $ SuperFamicom/Cx4#serialize(60809b9a0cf3e534).(serializercxx . . $ nall/serializer#&); |
| 13 | |
| 14 | private: |
| 15 | uint8cxx . . $ uint8# ramcxx . . $ SuperFamicom/Cx4#ram.[0x0c00]; |
| 16 | uint8cxx . . $ uint8# regcxx . . $ SuperFamicom/Cx4#reg.[0x0100]; |
| 17 | uint32cxx . . $ uint32# r0cxx . . $ SuperFamicom/Cx4#r0., r1cxx . . $ SuperFamicom/Cx4#r1., r2cxx . . $ SuperFamicom/Cx4#r2., r3cxx . . $ SuperFamicom/Cx4#r3., r4cxx . . $ SuperFamicom/Cx4#r4., r5cxx . . $ SuperFamicom/Cx4#r5., r6cxx . . $ SuperFamicom/Cx4#r6., r7cxx . . $ SuperFamicom/Cx4#r7., |
| 18 | r8cxx . . $ SuperFamicom/Cx4#r8., r9cxx . . $ SuperFamicom/Cx4#r9., r10cxx . . $ SuperFamicom/Cx4#r10., r11cxx . . $ SuperFamicom/Cx4#r11., r12cxx . . $ SuperFamicom/Cx4#r12., r13cxx . . $ SuperFamicom/Cx4#r13., r14cxx . . $ SuperFamicom/Cx4#r14., r15cxx . . $ SuperFamicom/Cx4#r15.; |
| 19 | |
| 20 | static const uint8cxx . . $ uint8# immediate_datacxx . . $ SuperFamicom/Cx4#immediate_data.[48]; |
| 21 | static const uint16cxx . . $ uint16# wave_datacxx . . $ SuperFamicom/Cx4#wave_data.[40]; |
| 22 | static const uint32cxx . . $ uint32# sin_tablecxx . . $ SuperFamicom/Cx4#sin_table.[256]; |
| 23 | |
| 24 | static const int16cxx . . $ int16# SinTablecxx . . $ SuperFamicom/Cx4#SinTable.[512]; |
| 25 | static const int16cxx . . $ int16# CosTablecxx . . $ SuperFamicom/Cx4#CosTable.[512]; |
| 26 | |
| 27 | int16cxx . . $ int16# C4WFXValcxx . . $ SuperFamicom/Cx4#C4WFXVal., C4WFYValcxx . . $ SuperFamicom/Cx4#C4WFYVal., C4WFZValcxx . . $ SuperFamicom/Cx4#C4WFZVal., C4WFX2Valcxx . . $ SuperFamicom/Cx4#C4WFX2Val., C4WFY2Valcxx . . $ SuperFamicom/Cx4#C4WFY2Val., C4WFDistcxx . . $ SuperFamicom/Cx4#C4WFDist., C4WFScalecxx . . $ SuperFamicom/Cx4#C4WFScale.; |
| 28 | int16cxx . . $ int16# C41FXValcxx . . $ SuperFamicom/Cx4#C41FXVal., C41FYValcxx . . $ SuperFamicom/Cx4#C41FYVal., C41FAngleRescxx . . $ SuperFamicom/Cx4#C41FAngleRes., C41FDistcxx . . $ SuperFamicom/Cx4#C41FDist., C41FDistValcxx . . $ SuperFamicom/Cx4#C41FDistVal.; |
| 29 | |
| 30 | void C4TransfWireFramecxx . . $ SuperFamicom/Cx4#C4TransfWireFrame(49f6e7a06ebc5aa8).(); |
| 31 | void C4TransfWireFrame2cxx . . $ SuperFamicom/Cx4#C4TransfWireFrame2(49f6e7a06ebc5aa8).(); |
| 32 | void C4CalcWireFramecxx . . $ SuperFamicom/Cx4#C4CalcWireFrame(49f6e7a06ebc5aa8).(); |
| 33 | void C4DrawLinecxx . . $ SuperFamicom/Cx4#C4DrawLine(52a997c4463b61a6).(int32cxx . . $ int32# X1, int32cxx . . $ int32# Y1, int16cxx . . $ int16# Z1, int32cxx . . $ int32# X2, int32cxx . . $ int32# Y2, int16cxx . . $ int16# Z2, uint8cxx . . $ uint8# Color); |
| 34 | void C4DrawWireFramecxx . . $ SuperFamicom/Cx4#C4DrawWireFrame(49f6e7a06ebc5aa8).(); |
| 35 | void C4DoScaleRotatecxx . . $ SuperFamicom/Cx4#C4DoScaleRotate(d4f767463ce0a6b3).(int row_padding); |
| 36 | |
| 37 | public: |
| 38 | uint32cxx . . $ uint32# ldrcxx . . $ SuperFamicom/Cx4#ldr(ded9d4c05c7b1550).(uint8cxx . . $ uint8# r); |
| 39 | void strcxx . . $ SuperFamicom/Cx4#str(8c20a40f0f472c58).(uint8cxx . . $ uint8# r, uint32cxx . . $ uint32# data); |
| 40 | void mulcxx . . $ SuperFamicom/Cx4#mul(2e783be961d0f87c).(uint32cxx . . $ uint32# x, uint32cxx . . $ uint32# y, uint32cxx . . $ uint32# &rl, uint32cxx . . $ uint32# &rh); |
| 41 | uint32cxx . . $ uint32# sincxx . . $ SuperFamicom/Cx4#sin(2141b656ce2cc063).(uint32cxx . . $ uint32# rx); |
| 42 | uint32cxx . . $ uint32# coscxx . . $ SuperFamicom/Cx4#cos(2141b656ce2cc063).(uint32cxx . . $ uint32# rx); |
| 43 | |
| 44 | void transfer_datacxx . . $ SuperFamicom/Cx4#transfer_data(49f6e7a06ebc5aa8).(); |
| 45 | void immediate_regcxx . . $ SuperFamicom/Cx4#immediate_reg(cb2f890c2fdad230).(uint32cxx . . $ uint32# num); |
| 46 | |
| 47 | void op00_00cxx . . $ SuperFamicom/Cx4#op00_00(49f6e7a06ebc5aa8).(); |
| 48 | void op00_03cxx . . $ SuperFamicom/Cx4#op00_03(49f6e7a06ebc5aa8).(); |
| 49 | void op00_05cxx . . $ SuperFamicom/Cx4#op00_05(49f6e7a06ebc5aa8).(); |
| 50 | void op00_07cxx . . $ SuperFamicom/Cx4#op00_07(49f6e7a06ebc5aa8).(); |
| 51 | void op00_08cxx . . $ SuperFamicom/Cx4#op00_08(49f6e7a06ebc5aa8).(); |
| 52 | void op00_0bcxx . . $ SuperFamicom/Cx4#op00_0b(49f6e7a06ebc5aa8).(); |
| 53 | void op00_0ccxx . . $ SuperFamicom/Cx4#op00_0c(49f6e7a06ebc5aa8).(); |
| 54 | |
| 55 | void op00cxx . . $ SuperFamicom/Cx4#op00(49f6e7a06ebc5aa8).(); |
| 56 | void op01cxx . . $ SuperFamicom/Cx4#op01(49f6e7a06ebc5aa8).(); |
| 57 | void op05cxx . . $ SuperFamicom/Cx4#op05(49f6e7a06ebc5aa8).(); |
| 58 | void op0dcxx . . $ SuperFamicom/Cx4#op0d(49f6e7a06ebc5aa8).(); |
| 59 | void op10cxx . . $ SuperFamicom/Cx4#op10(49f6e7a06ebc5aa8).(); |
| 60 | void op13cxx . . $ SuperFamicom/Cx4#op13(49f6e7a06ebc5aa8).(); |
| 61 | void op15cxx . . $ SuperFamicom/Cx4#op15(49f6e7a06ebc5aa8).(); |
| 62 | void op1fcxx . . $ SuperFamicom/Cx4#op1f(49f6e7a06ebc5aa8).(); |
| 63 | void op22cxx . . $ SuperFamicom/Cx4#op22(49f6e7a06ebc5aa8).(); |
| 64 | void op25cxx . . $ SuperFamicom/Cx4#op25(49f6e7a06ebc5aa8).(); |
| 65 | void op2dcxx . . $ SuperFamicom/Cx4#op2d(49f6e7a06ebc5aa8).(); |
| 66 | void op40cxx . . $ SuperFamicom/Cx4#op40(49f6e7a06ebc5aa8).(); |
| 67 | void op54cxx . . $ SuperFamicom/Cx4#op54(49f6e7a06ebc5aa8).(); |
| 68 | void op5ccxx . . $ SuperFamicom/Cx4#op5c(49f6e7a06ebc5aa8).(); |
| 69 | void op5ecxx . . $ SuperFamicom/Cx4#op5e(49f6e7a06ebc5aa8).(); |
| 70 | void op60cxx . . $ SuperFamicom/Cx4#op60(49f6e7a06ebc5aa8).(); |
| 71 | void op62cxx . . $ SuperFamicom/Cx4#op62(49f6e7a06ebc5aa8).(); |
| 72 | void op64cxx . . $ SuperFamicom/Cx4#op64(49f6e7a06ebc5aa8).(); |
| 73 | void op66cxx . . $ SuperFamicom/Cx4#op66(49f6e7a06ebc5aa8).(); |
| 74 | void op68cxx . . $ SuperFamicom/Cx4#op68(49f6e7a06ebc5aa8).(); |
| 75 | void op6acxx . . $ SuperFamicom/Cx4#op6a(49f6e7a06ebc5aa8).(); |
| 76 | void op6ccxx . . $ SuperFamicom/Cx4#op6c(49f6e7a06ebc5aa8).(); |
| 77 | void op6ecxx . . $ SuperFamicom/Cx4#op6e(49f6e7a06ebc5aa8).(); |
| 78 | void op70cxx . . $ SuperFamicom/Cx4#op70(49f6e7a06ebc5aa8).(); |
| 79 | void op72cxx . . $ SuperFamicom/Cx4#op72(49f6e7a06ebc5aa8).(); |
| 80 | void op74cxx . . $ SuperFamicom/Cx4#op74(49f6e7a06ebc5aa8).(); |
| 81 | void op76cxx . . $ SuperFamicom/Cx4#op76(49f6e7a06ebc5aa8).(); |
| 82 | void op78cxx . . $ SuperFamicom/Cx4#op78(49f6e7a06ebc5aa8).(); |
| 83 | void op7acxx . . $ SuperFamicom/Cx4#op7a(49f6e7a06ebc5aa8).(); |
| 84 | void op7ccxx . . $ SuperFamicom/Cx4#op7c(49f6e7a06ebc5aa8).(); |
| 85 | void op89cxx . . $ SuperFamicom/Cx4#op89(49f6e7a06ebc5aa8).(); |
| 86 | |
| 87 | uint8cxx . . $ uint8# readbcxx . . $ SuperFamicom/Cx4#readb(6699a9687259e5ab).(uint16cxx . . $ uint16# addr); |
| 88 | uint16cxx . . $ uint16# readwcxx . . $ SuperFamicom/Cx4#readw(a18c05e4017afb3d).(uint16cxx . . $ uint16# addr); |
| 89 | uint32cxx . . $ uint32# readlcxx . . $ SuperFamicom/Cx4#readl(909d59720f161188).(uint16cxx . . $ uint16# addr); |
| 90 | |
| 91 | void writebcxx . . $ SuperFamicom/Cx4#writeb(d73ba7430b62ecf5).(uint16cxx . . $ uint16# addr, uint8cxx . . $ uint8# data); |
| 92 | void writewcxx . . $ SuperFamicom/Cx4#writew(161476d40f03fa8c).(uint16cxx . . $ uint16# addr, uint16cxx . . $ uint16# data); |
| 93 | void writelcxx . . $ SuperFamicom/Cx4#writel(3e477364cd7c2687).(uint16cxx . . $ uint16# addr, uint32cxx . . $ uint32# data); |
| 94 | }; |
| 95 | |
| 96 | extern Cx4cxx . . $ SuperFamicom/Cx4# cx4cxx . . $ SuperFamicom/cx4.; |