summaryrefslogtreecommitdiff
path: root/assembly/win95/win95.S
diff options
context:
space:
mode:
authorcheapie <cheapiephp@gmail.com>2026-09-25 23:29:19 -0500
committercheapie <cheapiephp@gmail.com>2026-09-25 23:29:19 -0500
commit945e3d30f379ebe7bbc2a94da3f7b9d45c7ca4b7 (patch)
tree7bbda39b21565ab2b8d52615d19806dd030b53ea /assembly/win95/win95.S
parentf73b3320e6d5d0cc36e9f714cd61999767babb37 (diff)
downloadrvcontroller-945e3d30f379ebe7bbc2a94da3f7b9d45c7ca4b7.tar
rvcontroller-945e3d30f379ebe7bbc2a94da3f7b9d45c7ca4b7.tar.gz
rvcontroller-945e3d30f379ebe7bbc2a94da3f7b9d45c7ca4b7.tar.bz2
rvcontroller-945e3d30f379ebe7bbc2a94da3f7b9d45c7ca4b7.tar.xz
rvcontroller-945e3d30f379ebe7bbc2a94da3f7b9d45c7ca4b7.zip
Fix minor bugs in upgrade password section
Diffstat (limited to 'assembly/win95/win95.S')
-rw-r--r--assembly/win95/win95.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/assembly/win95/win95.S b/assembly/win95/win95.S
index ace9008..932f230 100644
--- a/assembly/win95/win95.S
+++ b/assembly/win95/win95.S
@@ -199,12 +199,12 @@ la a0,clearscreenmsg
li a7,4
ecall
+upgradepassword_restart:
+
# Clear the input buffer
la t0,inputbuf
-sd x0,0(t0)
-sd x0,2(t0)
-sd x0,4(t0)
-sw x0,6(t0)
+sw x0,0(t0)
+sw x0,4(t0)
# Print "Enter key: " message
li a7,4
@@ -350,7 +350,7 @@ invalidinput:
li a7,4
la a0,inputerrormsg
ecall
-j _start
+j upgradepassword_restart
menumsg: .asciz "1: Retail Key\n2: OEM Key\n3: Upgrade Password\n\nEnter your choice:\n"
keypromptmsg: .asciz "Enter key: "
@@ -359,5 +359,5 @@ inputerrormsg: .asciz "Invalid entry\n\n"
anykeymsg: .asciz "\n\nPress any key..."
oemmsg: .asciz "-OEM-\n0"
clearscreenmsg: .asciz "\n\n\n\n\n\n"
-inputbuf: .skip 7
+inputbuf: .skip 8
.globl _start