Baud Rate Mask Fix, Issue #465

Thanks and credit to Mark Pruden for finding this.
This commit is contained in:
Wayne Warthen
2024-12-08 07:28:23 -08:00
parent 2788fa4fdf
commit a8f2aa71cc

View File

@@ -905,7 +905,7 @@ setcon:
jp nz,err_invcmd ; abort on error
;
ld a,d ; mask off current
and $11100000 ; baud rate
and %11100000 ; baud rate
ld hl,newspeed ; and load in new
or (hl) ; baud rate
ld d,a