From df2cd4079f7c96b9b13567d31cc805230b1f4a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Fri, 25 Feb 2022 02:19:44 +0200 Subject: [PATCH] Allow upper case switches --- dosdl.asm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dosdl.asm b/dosdl.asm index 593cf5d..993c7aa 100644 --- a/dosdl.asm +++ b/dosdl.asm @@ -32,6 +32,8 @@ parse_arguments: jne .not_mode_option cmp byte [si + 1], 'h' + je .hard_mode + cmp byte [si + 1], 'H' jne .not_hard_mode .hard_mode: @@ -42,6 +44,8 @@ parse_arguments: .not_hard_mode: cmp byte [si + 1], 'u' + je .ultra_hard_mode + cmp byte [si + 1], 'U' jne .not_ultra_hard_mode .ultra_hard_mode: @@ -64,6 +68,8 @@ parse_arguments: .not_ultra_hard_mode: cmp byte [si + 1], 'l' je print_license + cmp byte [si + 1], 'L' + je print_license cmp byte [si + 2], '?' je print_help