fix(nds): impl enough i/o to get ARM7WRESTLER booting

This commit is contained in:
2023-11-04 19:28:54 -05:00
parent 37aff56c22
commit 64b1bdbe19
6 changed files with 75 additions and 51 deletions

View File

@@ -29,13 +29,13 @@ pub const Ppu = struct {
const ty = @import("nds9/io.zig");
nds9: struct {
dispstat: ty.Dispstat = .{ .raw = 0x0000_0000 },
vcount: ty.Vcount = .{ .raw = 0x0000_0000 },
dispstat: ty.Dispstat = .{ .raw = 0x00000 },
vcount: ty.Vcount = .{ .raw = 0x0000 },
} = .{},
nds7: struct {
dispstat: ty.Dispstat = .{ .raw = 0x0000_0000 },
vcount: ty.Vcount = .{ .raw = 0x0000_0000 },
dispstat: ty.Dispstat = .{ .raw = 0x0000 },
vcount: ty.Vcount = .{ .raw = 0x00000 },
} = .{},
powcnt: ty.PowCnt = .{ .raw = 0x0000_0000 },