bleh
This commit is contained in:
parent
1fe6850ed7
commit
c36b0e08b0
|
@ -119,7 +119,9 @@ described near the end, the article is quite large.
|
||||||
1. Pipelining: can code running at `0x0FFE` (or a similar address) access the
|
1. Pipelining: can code running at `0x0FFE` (or a similar address) access the
|
||||||
BSL memory, (mis)using the possibility that the effective value of `pc`
|
BSL memory, (mis)using the possibility that the effective value of `pc`
|
||||||
might differ from the executed address due to pipelining effects? (cf.
|
might differ from the executed address due to pipelining effects? (cf.
|
||||||
[MerryMage's GBA BIOS dump](https://mary.rs/lab/gbabios/))
|
[MerryMage's GBA BIOS dump](https://mary.rs/lab/gbabios/)) NOTE: `0x0FFE` is
|
||||||
|
not backed by anything and always reads as 0, so getting this to work will
|
||||||
|
be tricky.
|
||||||
1. DMA: can a DMA transfer be used to change the stack contents during BSL
|
1. DMA: can a DMA transfer be used to change the stack contents during BSL
|
||||||
execution? (Most likely, just like interrupts can, I simply haven't checked.)
|
execution? (Most likely, just like interrupts can, I simply haven't checked.)
|
||||||
1. Dumping of the `0x1b00`..`0x1bff` region still needs to happen.
|
1. Dumping of the `0x1b00`..`0x1bff` region still needs to happen.
|
||||||
|
|
|
@ -295,8 +295,8 @@ int main(void) {
|
||||||
setup_io();
|
setup_io();
|
||||||
setup_clocks();
|
setup_clocks();
|
||||||
stdio_msp_init();
|
stdio_msp_init();
|
||||||
SFRIE1 = NMIIE;
|
//SFRIE1 = NMIIE;
|
||||||
SFRRPCR = SYSRSTRE__ENABLE | SYSRSTUP__PULLUP | SYSNMIIES__FALLING | SYSNMI__NMI;
|
//SFRRPCR = SYSRSTRE__ENABLE | SYSRSTUP__PULLUP | SYSNMIIES__FALLING | SYSNMI__NMI;
|
||||||
|
|
||||||
memset(regbak, 0, sizeof regbak);
|
memset(regbak, 0, sizeof regbak);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue