about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-07-11 03:47:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-07-11 03:47:15 -0700
commit598fe88ebb6e231ead40039b2db4f388fb789f91 (patch)
treea3cf9fb6253946d8f98b46a7ea809a8b7b4a93d8
parent430dd67cb232b51902ee849cf7cfbedc75aa938b (diff)
downloadmu-598fe88ebb6e231ead40039b2db4f388fb789f91.tar.gz
.
-rw-r--r--img.mu12
1 files changed, 11 insertions, 1 deletions
diff --git a/img.mu b/img.mu
index 76ecdd23..f720cd30 100644
--- a/img.mu
+++ b/img.mu
@@ -44,7 +44,7 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
 
 fn load-image self: (addr image), data-disk: (addr disk) {
   # data-disk -> stream
-  var s-storage: (stream byte 0xc0000)  # 512*3 sectors
+  var s-storage: (stream byte 0x200000)  # 512* 0x1000 sectors
   var s/ebx: (addr stream byte) <- address s-storage
   draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "loading sectors from data disk", 3/fg, 0/bg
   move-cursor-to-left-margin-of-next-line 0/screen
@@ -54,6 +54,16 @@ fn load-image self: (addr image), data-disk: (addr disk) {
   load-sectors data-disk, 0x300/lba, 0x100/sectors, s
   load-sectors data-disk, 0x400/lba, 0x100/sectors, s
   load-sectors data-disk, 0x500/lba, 0x100/sectors, s
+  load-sectors data-disk, 0x600/lba, 0x100/sectors, s
+  load-sectors data-disk, 0x700/lba, 0x100/sectors, s
+  load-sectors data-disk, 0x800/lba, 0x100/sectors, s
+  load-sectors data-disk, 0x900/lba, 0x100/sectors, s
+  load-sectors data-disk, 0xa00/lba, 0x100/sectors, s
+  load-sectors data-disk, 0xb00/lba, 0x100/sectors, s
+  load-sectors data-disk, 0xc00/lba, 0x100/sectors, s
+  load-sectors data-disk, 0xd00/lba, 0x100/sectors, s
+  load-sectors data-disk, 0xe00/lba, 0x100/sectors, s
+  load-sectors data-disk, 0xf00/lba, 0x100/sectors, s
   draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "parsing", 3/fg, 0/bg
   move-cursor-to-left-margin-of-next-line 0/screen
   initialize-image self, s