From e1d78ba7a5440a5277a66f300e4ca7259f8ca22c Mon Sep 17 00:00:00 2001 From: Terence Boldt Date: Sat, 16 Jan 2021 12:42:00 -0500 Subject: [PATCH] Change read/write flags to high bits --- Apple2/Firmware.asm | 12 ++++++------ Apple2/Firmware.bin | Bin 2048 -> 2048 bytes Apple2/Firmware_27256_EPROM.bin | Bin 32768 -> 32768 bytes 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Apple2/Firmware.asm b/Apple2/Firmware.asm index c60f7a6..cdd4ee7 100644 --- a/Apple2/Firmware.asm +++ b/Apple2/Firmware.asm @@ -147,8 +147,8 @@ SendByte: pha waitWrite: lda InputFlags,x - ror - ror ;Second lowest bit goes low when ready + rol + rol bcs waitWrite pla sta OutputByte,x @@ -156,8 +156,8 @@ waitWrite: sta OutputFlags,x finishWrite: lda InputFlags,x - ror - ror + rol + rol bcc finishWrite lda #$0f sta OutputFlags,x @@ -168,7 +168,7 @@ GetByte: sta OutputFlags,x waitRead: lda InputFlags,x - ror + rol bcs waitRead lda InputByte pha @@ -176,7 +176,7 @@ waitRead: sta OutputFlags,x finishRead: lda InputFlags,x - ror + rol bcc finishRead pla end: diff --git a/Apple2/Firmware.bin b/Apple2/Firmware.bin index 02b250daa9660e160dd470acaed472f1a41e6e33..23f5cbcad9912ed67b5c25f2ba9a86eea5cacb32 100644 GIT binary patch literal 2048 zcmd7NElUJJ9LMop&miJcG)`798%*cjX|P$08+{ADfW;un84bdXpfG}GMkzFXk)VOn2{Dln&Cpw8s|G zKH1_2@xtBiZFjOXjwfs5xyfLg9VR!^(Ue8&$tYqSa?gq9SHoA&=ife9oS$z87<>5` zMdXCP_w!-<_>h;EJ^%KZu({tIMMp#T)XSgI?Z2Gyjg7~z^%HptNA`* z%i-qn`{9D`&n^)RzmJpX&(+z=8v8{9zaU;z{Q`agzkpxBFABdX{q>HbqoIRew81YM z_$BeO>X-0K_$B-jep&cs>92Pb9St4)vJHOKz^{l`RlkB?!LQ&~@TxR_zlGnzZ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