about summary refs log tree commit diff stats
path: root/img.mu
diff options
context:
space:
mode:
Diffstat (limited to 'img.mu')
-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