From c10b7d66cefd3bdabbee7604bab0990a1b4d212a Mon Sep 17 00:00:00 2001 From: Jaroslav Beran Date: Thu, 25 Jan 2018 20:13:48 +0100 Subject: [PATCH] Random improved --- addtris.asm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addtris.asm b/addtris.asm index cf7e282..65dfdaa 100644 --- a/addtris.asm +++ b/addtris.asm @@ -427,8 +427,10 @@ get_char_at: ; store it off in al get_random: push dx - mov dx, 40h - in al, dx + mov dx,40h + in al,dx + mov dx,[timer] + xor al,dl pop dx ret