z80pack: fix misreporting of memory size
authorAlan Cox <alan@linux.intel.com>
Sat, 11 Nov 2017 21:02:26 +0000 (21:02 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 11 Nov 2017 21:02:26 +0000 (21:02 +0000)
Kernel/platform-z80pack/z80pack.s

index e004b68..b855773 100644 (file)
@@ -108,9 +108,9 @@ init_early:
 
 init_hardware:
             ; set system RAM size
-            ld hl, #480
+            ld hl, #484
             ld (_ramsize), hl
-            ld hl, #(480-64)           ; 64K for kernel
+            ld hl, #(484-64)           ; 64K for kernel
             ld (_procmem), hl
 
            ld a, #1