Commit graph

  • 9e3e7ec5a3 try to fix the framebuffer radius 2017-02-07 22:54:50 -05:00
  • 3908ba9ba9 initial port radius 2017-02-07 22:07:04 -05:00
  • 796dc58f71 GXFIFO finished. hacktastic integration into the ARM9 loop. StapleButter 2017-02-08 00:52:37 +01:00
  • 971e7b7e89 well, GX FIFO base. noting that for now, it doesn't do much beyond getting full real quick. also make ROM loading fail gracefully if it shits itself, instead of entering an endless loop. StapleButter 2017-02-07 23:31:21 +01:00
  • 2b7fac05c7 rework FIFO crap so it can also be used for the GXFIFO crapo. StapleButter 2017-02-07 22:41:33 +01:00
  • 0562410de2 * lay base for 3D engine * add failure reporting to Init functions, and DeInit functions * GPU-related notes * readme update StapleButter 2017-02-07 22:23:46 +01:00
  • 86cdf28323 change how redrawing is done. fixes memory leak and other fun shit. StapleButter 2017-02-06 00:07:22 +01:00
  • 3cf38e3e9d lil' hack. makes SM64DS go ingame. StapleButter 2017-02-05 18:34:21 +01:00
  • 1001df49ea support extended palette for 256-color sprites. StapleButter 2017-02-05 18:23:03 +01:00
  • e88cf1b43d apparently when you set an out-of-bounds address for EEPROM, it should wrap around StapleButter 2017-02-05 17:45:17 +01:00
  • ff3b60bc93 ARM7 BIOS read protect. StapleButter 2017-02-05 17:15:17 +01:00
  • 5ccf56d21d * fix 'STMxx with base register included in register list' when base register is banked. * fix cart DMA for ARM9. StapleButter 2017-02-05 16:50:20 +01:00
  • 829b044802 improve touchscreen precision StapleButter 2017-02-04 00:12:08 +01:00
  • 67f0c7b123 256-color sprites. code's weird tho. check it later. StapleButter 2017-02-04 00:07:25 +01:00
  • 4b3f635c9f fixes to tiled extended BGs. support for 256color/direct bitmap BGs. StapleButter 2017-02-03 23:49:37 +01:00
  • 399e30017a fix extended backgrounds. blarg StapleButter 2017-02-03 22:58:00 +01:00
  • 410c18fac4 blarg StapleButter 2017-02-03 21:11:23 +01:00
  • 1f691f3795 * HBlank flag and IRQ. * VBlank and HBlank DMA. StapleButter 2017-02-03 18:47:40 +01:00
  • f4335b9292 better save support. not hardcoded filename, support for non-tiny EEPROM and Flash, attempt at autodetecting the right memory type. StapleButter 2017-02-03 16:57:31 +01:00
  • 7e9972e037 an attempt at shitty extended "tile+rotscale" BGs StapleButter 2017-02-02 01:18:03 +01:00
  • 6486d0e10d BG extended palettes! StapleButter 2017-02-02 00:09:40 +01:00
  • 3451e41bd1 tile hflip/vflip for text BGs. 256-color mode for text BGs. StapleButter 2017-02-01 23:43:02 +01:00
  • c19056a564 implement screen swap. silence some logging for 3D GPU writes. StapleButter 2017-02-01 21:57:25 +01:00
  • 282dcdece3 * make direct boot less shitty. * add main RAM mirror at 0x02800000 for ARM7. StapleButter 2017-02-01 21:35:00 +01:00
  • 64f9822db6 fix ARM7 VRAM StapleButter 2017-02-01 19:30:57 +01:00
  • e028973caa this is not how sprite priorities work, you derp StapleButter 2017-02-01 18:47:13 +01:00
  • 03c1a9cbc8 more anti-crash. don't unmap VRAM in cases of overlaps. fixes NSMB minigames, for now. StapleButter 2017-02-01 17:05:12 +01:00
  • 6d2092a106 blarg StapleButter 2017-02-01 00:31:23 +01:00
  • 1f5faf8291 TSC support, touchscreen input. not perfect but for now this will do. StapleButter 2017-02-01 00:24:36 +01:00
  • 548b8d99a6 sqrt crap StapleButter 2017-01-31 21:53:45 +01:00
  • 9541d17c7c * implement the last missing instructions. QADD is not good according to ARMWrestler, but it doesn't make sense. TODO: investigate. * buttons A and B * silence 'unknown IO write' for 3D GPU ports StapleButter 2017-01-31 18:41:31 +01:00
  • 516bc30ee3 * very shitty implementation of save RAM. requires an existing save file for now. * refine some SPI code, too. mostly removing a useless function. * support 16bit accesses to DMAxCNT registers. StapleButter 2017-01-31 17:34:17 +01:00
  • c3e2f7ad9b * fix VRAM address calculation for GPU A * add support for mode 5 StapleButter 2017-01-31 15:43:22 +01:00
  • 12ebf83665 keep the GPU from crashing if there's no VRAM mapped, I guess. noting that the way it's accessing VRAM is grossly inaccurate. StapleButter 2017-01-31 04:06:05 +01:00
  • 594286ee5d * scheduler revamp, simpler design * fix dumb bug of the year: ARM LDR opcodes would accidentally read twice, which fucked with things like the IPC FIFO. StapleButter 2017-01-31 03:54:51 +01:00
  • 348bbd8cb8 move TCM shit to CP15.cpp. closer to the real thing (for example now DMA can't access TCM, etc). StapleButter 2017-01-30 19:11:29 +01:00
  • 6f3b0498db start refactoring shit: more accurate timing and way of counting cycles. StapleButter 2017-01-30 18:36:11 +01:00
  • 296212ac49 * support for cart secure area * fix bug in THUMB LDMIA StapleButter 2017-01-23 02:26:05 +01:00
  • fe3a189406 esgshdgdfh StapleButter 2017-01-22 20:37:12 +01:00
  • ac8936539e some attempt at cart support StapleButter 2017-01-22 20:34:59 +01:00
  • 62ed28d5c8 rotscaled 16color sprites. about fucking time I get this shit working. StapleButter 2017-01-21 17:06:54 +01:00
  • 14f1cec955 some beginning of sprite support: 16bit tiled sprites, not rotated or anything fancy also give it a version number StapleButter 2017-01-21 03:36:14 +01:00
  • 711375c0be BG scroll. also fix silly bug. StapleButter 2017-01-20 15:27:56 +01:00
  • 7dba0121cb fix bug with ALU operations and shift operands, where the shift operation could obliterate the carry flag also, misc shit StapleButter 2017-01-20 15:13:44 +01:00
  • 3e5e8f60c4 * some basic BG display code * basic, frozen-in-time RTC * power management device StapleButter 2017-01-20 01:18:30 +01:00
  • d7c1d2a2cd * start GPU shit: draw BG0 16-color. * fix a few DMA bugs. * fix a bug where some code could still run right after a halt instruction. * fix VRAM mapping, too. I'm an idiot. StapleButter 2017-01-18 17:57:12 +01:00
  • d30e6956fa skeleton for 2D GPU StapleButter 2017-01-18 04:03:19 +01:00
  • bff3a92cc0 fix bug that could cause nested IRQs. fix potential bug in MSR. StapleButter 2017-01-18 03:11:07 +01:00
  • 7f5ee5c00e ARM9 division hardware. POSTFLG register. StapleButter 2017-01-18 02:20:45 +01:00
  • 9808b73c6f DMA support! StapleButter 2017-01-18 01:33:06 +01:00
  • b10a0d64a2 fix bug with IPC FIFO IRQs StapleButter 2017-01-17 05:29:38 +01:00
  • 8ea2aaad5a separate IO read/write handlers from the rest before it's too late. remove some useless cruft. StapleButter 2017-01-17 02:29:25 +01:00
  • 45bceecc19 IPC FIFO emulation. StapleButter 2017-01-17 01:58:25 +01:00
  • 8c2f785a0f uh oh! it's getting further StapleButter 2017-01-16 04:47:37 +01:00
  • af05333290 christ. CodeBlocks is retarded. StapleButter 2016-12-23 21:22:22 +01:00
  • 9bb3537ede some more crap emulated. StapleButter 2016-12-06 17:32:51 +01:00
  • c8a0058ebc implementation of VRAM and other misc crap StapleButter 2016-12-05 23:17:03 +01:00
  • 8c8c78cf83 misc fixes. shit in place to start implementing GPU shit. GPL headers added before it's too late. (TODO: put actual GPL license in the repo) also added URL that doesn't exist yet but is reserved. StapleButter 2016-12-05 18:02:29 +01:00
  • 343797f47d * somewhat proper event scheduler * support for timers * fixes, additions, shit StapleButter 2016-12-05 17:08:24 +01:00
  • a14c01208a fix some shit. add support for SPI and firmware. StapleButter 2016-12-04 03:20:50 +01:00
  • d7c1d77ba2 more instructions. shared WRAM. StapleButter 2016-12-03 18:29:19 +01:00
  • 1e4086e1b6 moar instructions and shit implemented StapleButter 2016-12-03 17:58:24 +01:00
  • f2858e1c47 less amnesia! ITCM, DTCM, corresponding CP15 support StapleButter 2016-12-03 16:13:04 +01:00
  • 53bef35cd1 more crap implemented! StapleButter 2016-12-03 15:15:34 +01:00
  • 948cdeab59 amnesia is over StapleButter 2016-12-03 13:42:27 +01:00
  • 30f85e3400 more instructions. some handling of CPU mode switching. StapleButter 2016-12-03 04:41:10 +01:00
  • 6213245f3a moar shit StapleButter 2016-12-03 04:05:23 +01:00
  • ae6e9d96da ARM ALU is done with. as well as other shit. StapleButter 2016-12-03 03:10:26 +01:00
  • 844ca45055 add MSR/MRS. also fix misc error with LDR ROR effect. StapleButter 2016-12-03 02:09:04 +01:00
  • 23d584ca4c implement LDR/STR/LDRB/STRB. more macro soup. StapleButter 2016-12-03 01:31:33 +01:00
  • 97ec988dae more shit! some start of ALU emulation StapleButter 2016-11-25 00:08:53 +01:00
  • f74fb2dd27 well, adding shit. laying out the base for the interpreter. really dirty code. StapleButter 2016-11-24 18:31:49 +01:00
  • 3505ec993b hey look, more crap StapleButter 2016-11-03 01:38:58 +01:00
  • 5b7ae6dab3 add more crap StapleButter 2016-05-16 17:48:40 +02:00
  • cfdfd4b231 first real commit, some shit is in StapleButter 2016-05-16 03:40:11 +02:00
  • e0255fb957 Initial commit StapleButter 2016-05-16 03:34:14 +02:00