diff options
| author | cheapie <cheapiephp@gmail.com> | 2026-10-02 09:48:22 -0500 |
|---|---|---|
| committer | cheapie <cheapiephp@gmail.com> | 2026-10-02 09:48:22 -0500 |
| commit | 9a270c2db2c8af8b15ba70ca810a92a3c93c87fa (patch) | |
| tree | cde82a887243bb36fd07cb74aa101e69352a80b4 /assembly/win95 | |
| parent | e3353187bfd9090079e30ab01183eb6588d7b8b7 (diff) | |
| download | rvcontroller-main.tar rvcontroller-main.tar.gz rvcontroller-main.tar.bz2 rvcontroller-main.tar.xz rvcontroller-main.zip | |
Diffstat (limited to 'assembly/win95')
| -rw-r--r-- | assembly/win95/win95.S | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/assembly/win95/win95.S b/assembly/win95/win95.S index d547c11..9bdfa36 100644 --- a/assembly/win95/win95.S +++ b/assembly/win95/win95.S @@ -287,6 +287,12 @@ li a7,11 li a0,'\n' ecall +# Check if the first character was a 'q', quit (return to menu) if so +la t0,inputbuf +lb t0,0(t0) +li t1,'q' +beq t0,t1,_start + # Check if all characters are digits la t0,inputbuf li t1,5 @@ -415,7 +421,7 @@ ecall j upgradepassword_restart menumsg: .asciz "1: Retail Key\n2: OEM Key\n3: Office 97 Key\n4: Upgrade Password\n\nEnter your choice:" -keypromptmsg: .asciz "Enter key: " +keypromptmsg: .asciz "Enter key\n(q to quit): " passwordheadermsg: .asciz "Password: " inputerrormsg: .asciz "Invalid entry\n\n" anykeymsg: .asciz "\n\nPress any key..." |
