Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Experiment with enabling multiple animation states | Bad Diode | 2021-04-21 | 2 | -21/+49 |
| | |||||
* | Move frame counter to end of main loop | Bad Diode | 2021-04-21 | 1 | -4/+4 |
| | |||||
* | Add alternative sprite loading scheme | Bad Diode | 2021-04-21 | 1 | -82/+48 |
| | |||||
* | Profile custom tile loader vs memcpy | Bad Diode | 2021-04-21 | 2 | -145/+173 |
| | | | | Memcpy is much faster and should be preferred. | ||||
* | Add GBA button sprites and test their animations | Bad Diode | 2021-04-20 | 2 | -64/+309 |
| | |||||
* | Test sprites exported with my little tool | Bad Diode | 2021-04-19 | 1 | -18/+40 |
| | |||||
* | Add a bouncing animation for ASCII sprites | Bad Diode | 2021-04-18 | 1 | -66/+69 |
| | |||||
* | Test using fonts as sprites with a custom loader | Bad Diode | 2021-04-18 | 1 | -16/+43 |
| | |||||
* | Try sprites with bitmap modes (MODE_3) | Bad Diode | 2021-04-18 | 1 | -4/+6 |
| | |||||
* | Fix wrong masking of x coordinates to 9 bits | Bad Diode | 2021-04-18 | 1 | -4/+4 |
| | |||||
* | Experiment with different sprite sizes | Bad Diode | 2021-04-18 | 1 | -7/+9 |
| | |||||
* | Fix rendering issue by hiding the sprites on initialization | Bad Diode | 2021-04-18 | 1 | -16/+22 |
| | |||||
* | Add initial sprite tests | Bad Diode | 2021-04-18 | 1 | -62/+129 |
| | |||||
* | Rename OAM_x to OBJ_x since they refer to objects | Bad Diode | 2021-04-18 | 1 | -31/+31 |
| | |||||
* | Add access to OEM attributes with macros | Bad Diode | 2021-04-17 | 1 | -0/+38 |
| | |||||
* | Rename DISP_CONTROL to DISP_CTRL | Bad Diode | 2021-04-17 | 1 | -6/+37 |
| | |||||
* | Implement key polling and example of usage for toggle and hold | Bad Diode | 2021-04-16 | 1 | -29/+42 |
| | |||||
* | Add initial input handling | Bad Diode | 2021-04-16 | 1 | -34/+54 |
| | |||||
* | Update draw_line to fix offset error | Bad Diode | 2021-04-16 | 1 | -26/+16 |
| | |||||
* | Update draw_line to improve performance | Bad Diode | 2021-04-16 | 1 | -51/+55 |
| | | | | | | | | | | | | | The new implementation is based on the one found in TONC. Instead of updating two variables to address the framebuffer as FRAMEBUFFER[y][x], we update the pointer that points to the target memory destination. Changing the return type of the function from `static inline void` to `static void` improves the performance significantly. Additionally, for some reason, if there is an if statement for horizontal and vertical lines, the performance once again improves. It may be due to the compiler knowing that there is no pointer aliasing, but I'm not sure about that. | ||||
* | Test drawing 0xbadd10de logo using line primitives | Bad Diode | 2021-04-16 | 1 | -30/+39 |
| | |||||
* | Add profiling code and test with m4 vs m3 drawing | Bad Diode | 2021-04-16 | 1 | -10/+72 |
| | |||||
* | Fix warnings | Bad Diode | 2021-04-15 | 2 | -5/+5 |
| | |||||
* | Add tests for page flipping on mode 4 | Bad Diode | 2021-04-15 | 1 | -11/+26 |
| | |||||
* | Update bd-font | Bad Diode | 2021-04-15 | 1 | -1/+1 |
| | |||||
* | Add comment for clarification | Bad Diode | 2021-04-15 | 1 | -0/+2 |
| | |||||
* | Add initial Mode4 tests, copied from the TONC tutorial | Bad Diode | 2021-04-15 | 1 | -28/+31 |
| | |||||
* | Fix compiler warnings | Bad Diode | 2021-04-15 | 1 | -10/+10 |
| | |||||
* | Try drawing different patterns | Bad Diode | 2021-04-15 | 1 | -37/+16 |
| | |||||
* | Minor changes to test code | Bad Diode | 2021-04-15 | 1 | -1/+5 |
| | |||||
* | Add rectangle drawing routines | Bad Diode | 2021-04-15 | 1 | -4/+71 |
| | |||||
* | Test Bresenham's algorithm | Bad Diode | 2021-04-15 | 1 | -14/+33 |
| | |||||
* | Update some comments | Bad Diode | 2021-04-15 | 1 | -2/+2 |
| | |||||
* | Implement Bresenham's line drawing algorithm | Bad Diode | 2021-04-15 | 1 | -4/+88 |
| | |||||
* | Add function perform vsync | Bad Diode | 2021-04-14 | 1 | -0/+13 |
| | |||||
* | An alternative way of putting pixels on the framebuffer | Bad Diode | 2021-04-13 | 1 | -14/+16 |
| | |||||
* | Add initial text writing with bd-font | Bad Diode | 2021-04-13 | 2 | -6/+287 |
| | |||||
* | Update initial example w/ utility macros/functions | Bad Diode | 2021-04-13 | 2 | -7/+109 |
| | | | | | | The initial implementation was very obtuse. Using macros for different areas of GBA memory and some other utilities will make it much easier to understand. | ||||
* | Initial program example | Bad Diode | 2021-04-13 | 1 | -29/+8 |
| | | | | | | Blit 3 pixels to the screen. source: https://www.coranac.com/tonc/text/first.htm | ||||
* | Initial commit of gba template compilation with custom Makefile | Bad Diode | 2021-04-13 | 1 | -0/+33 |