2019-02-21 20:58:38 +01:00
|
|
|
# Since compatibility
|
|
|
|
|
|
|
|
Another, more recent list of things to do:
|
|
|
|
- Complete memory functions in [core/memory.c]
|
|
|
|
- Finish the boot log in <core/bootlog.h>
|
|
|
|
- Finish the boot log in [core/bootlog.c]
|
|
|
|
- Document the SH7305 PFC in <gint/mpu/pfc.h>
|
|
|
|
- Change the description of the version number in <gint/gint.h>
|
|
|
|
- Define the version number from full Git info
|
|
|
|
- Do this display in <gint/display-fx.h> and <gint/display-cg.h>
|
|
|
|
- Remove all mentions of GINT_LAX in the code
|
|
|
|
- Write exception handlers
|
|
|
|
- Do overclock in [clock/]
|
|
|
|
- Test getkey()
|
|
|
|
|
|
|
|
* Make keysc/keysc.c/state static and review forgotten global variables
|
|
|
|
* Find out what happened to the clock frequency on fxcg50
|
|
|
|
* Implement profiling
|
|
|
|
* Save and restore interrupt masks
|
|
|
|
* More keyboard
|
|
|
|
|
|
|
|
Strange, (irreproducible?) SysERRORs on SH3?
|
|
|
|
- Happened when dealing with overclock and after a transfer
|
|
|
|
- SysERROR when add-in fully returns, nothing during execution
|
|
|
|
- Affects all add-ins of the calculator!
|
|
|
|
|
|
|
|
* Make sure interrupt for extra timers is masked when you ctx_restore to avoid
|
|
|
|
interrupts
|
|
|
|
|
|
|
|
* For modules, use #define TMU ((tmu_t *)0xdeadbeef)) instead of tmu_t *TMU
|
|
|
|
* Don't hardcode fx-cg50 stack address in fxcg50.ld for Prizm compatibility
|
|
|
|
* Implement the gint_switch()
|
|
|
|
* File management
|
|
|
|
* Drawing functions, bopti and tales
|
|
|
|
* Gray engine
|
|
|
|
* Overclock
|
|
|
|
* Add a driver init function to the r61524 driver.
|
|
|
|
* Finish the bootlog and use the keyboard to control it.
|
|
|
|
* Save driver contexts on the stack in gint_pause().
|
|
|
|
* Write the core memory functions.
|
|
|
|
- Allow arbitrary code in gint_pause() instead of just main menu?
|
|
|
|
- Dynamically detect P1 static RAM in TLB for runtime Prizm compatibility.
|
|
|
|
* Use a solid API for boot-time printing (or just use fxlib)
|
|
|
|
- Use qdiv10() (there should be no __sdivsi3 in gint)
|
|
|
|
(bootlog, timer_delay(), getkey_repeat(), int2bcd())
|
|
|
|
* Load an exception handler and a TLB miss handler.
|
|
|
|
|
|
|
|
# Before compatibility
|
|
|
|
|
2016-08-29 11:29:07 +02:00
|
|
|
Bugs to fix:
|
2017-01-20 21:11:00 +01:00
|
|
|
- Alignment of ALL .data / .rodata files is required to ensure converted data
|
2019-02-21 20:58:38 +01:00
|
|
|
is properly aligned -> Ok using ALIGN(4)
|
|
|
|
- Ensure heap data is freed when a task-switch results in leaving the app (?)
|
2016-08-29 11:29:07 +02:00
|
|
|
|
2017-04-13 21:59:13 +02:00
|
|
|
Things to do before 1.0:
|
|
|
|
- bopti: Test partial transparency
|
2019-02-21 20:58:38 +01:00
|
|
|
- perf: Try 284x124 at (-60, -28) (all disadvantages)
|
2017-04-13 21:59:13 +02:00
|
|
|
- project: Check size of *all* library structures
|
2016-08-29 11:29:07 +02:00
|
|
|
- time: Compute CLOCKS_PER_SEC
|
2017-04-13 21:59:13 +02:00
|
|
|
|
|
|
|
Things to do later:
|
|
|
|
- bopti: Implement blending modes for monochrome bitmaps
|
2017-07-11 13:51:56 +02:00
|
|
|
- clock: Only measure if requires as option, otherwise trust {FTune}
|
2017-04-13 21:59:13 +02:00
|
|
|
- clock: Handle overclock (relaunch clocks when overclocking)
|
2017-07-11 13:51:56 +02:00
|
|
|
- clock: Split code into several files, change clock_config_t type
|
2017-04-13 21:59:13 +02:00
|
|
|
- core: Remove redundant code linked to environment saves
|
2017-07-11 13:51:56 +02:00
|
|
|
- display: Try to make this module lighter (lots of code in text section)
|
2017-04-13 21:59:13 +02:00
|
|
|
- esper: Cleaner playback, synthesizing
|
2017-04-19 19:57:31 +02:00
|
|
|
- events: Allow customization of keyboard event system (option to return
|
|
|
|
| events with modifiers, etc)
|
|
|
|
- events: Generate keyboard events on-the-fly by reading state arrays,
|
|
|
|
| allowing both a faster interrupt and avoiding supressing other
|
|
|
|
| events inside getkey() and multigetkey()
|
2017-07-11 13:51:56 +02:00
|
|
|
- gray: Same as display, it's quite heavy
|
2017-02-25 23:19:35 +01:00
|
|
|
- serial: Implement a driver
|
2017-07-11 13:51:56 +02:00
|
|
|
- stdio: More serious formatted printing functions and headers
|
2017-04-13 21:59:13 +02:00
|
|
|
- string: Use cmp/str to implement memchr() (assembler examples)
|
|
|
|
- string: Do some tests for memcmp() and memcpy()
|
2017-02-25 23:19:35 +01:00
|
|
|
- usb: Implement a driver
|
2016-08-29 11:29:07 +02:00
|
|
|
|
|
|
|
Things to investigate:
|
|
|
|
- Registers that may need to be saved within setjmp()
|
2017-07-05 21:38:12 +02:00
|
|
|
|
|
|
|
Possibly useful modules:
|
|
|
|
- DMAC
|
|
|
|
- SCIF, SCIFA
|
|
|
|
- TPU
|
|
|
|
- USB
|
|
|
|
- CMT on SH7305, WDT on SH7705
|