vdp2: remove start function
This commit is contained in:
parent
0c08f48750
commit
7ec3ec5480
@ -156,10 +156,3 @@ void main()
|
||||
palette_data();
|
||||
cell_data();
|
||||
}
|
||||
|
||||
extern "C"
|
||||
void start(void)
|
||||
{
|
||||
main();
|
||||
while (1) {}
|
||||
}
|
||||
|
@ -86,7 +86,6 @@ void main()
|
||||
vdp2.reg.CHCTLA = CHCTLA__N0CHCN__16_COLOR
|
||||
| CHCTLA__N0BMEN__CELL_FORMAT
|
||||
| CHCTLA__N0CHSZ__1x1_CELL;
|
||||
/* "Note: In color RAM modes 0 and 2, 2048-color becomes 1024-color" */
|
||||
|
||||
/* plane size */
|
||||
vdp2.reg.PLSZ = PLSZ__N0PLSZ__1x1;
|
||||
@ -108,9 +107,6 @@ void main()
|
||||
vdp2.reg.MPABN0 = MPABN0__N0MPB(0) | MPABN0__N0MPA(plane_a); // bits 5~0
|
||||
vdp2.reg.MPCDN0 = MPABN0__N0MPD(0) | MPABN0__N0MPC(0); // bits 5~0
|
||||
|
||||
// zeroize character/cell data from 0 up to plane_a_offset
|
||||
fill<uint32_t>(&vdp2.vram.u32[(0 / 4)], 0, plane_a_offset);
|
||||
|
||||
uint32_t top = (sizeof (union vdp2_vram));
|
||||
palette_data();
|
||||
uint32_t kirby_address = top = cell_data(top);
|
||||
@ -126,10 +122,3 @@ void main()
|
||||
|
||||
// both 1-word and 2-word have identical behavior; 2-word is enabled to reduce/focus suspicion.
|
||||
}
|
||||
|
||||
extern "C"
|
||||
void start(void)
|
||||
{
|
||||
main();
|
||||
while (1) {}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user