From 56440264c92259820947696c8d6a54b2422c4ac3 Mon Sep 17 00:00:00 2001 From: Zellyn Hunter Date: Thu, 8 Dec 2016 16:44:38 -0500 Subject: [PATCH] Revert tech note "fix" until I understand things --- audit/audit.asm | 4 ++++ audit/audit.dsk | Bin 143360 -> 143360 bytes audit/technote2.asm | 16 ++++++++-------- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/audit/audit.asm b/audit/audit.asm index acdd26f..fa84f4d 100644 --- a/audit/audit.asm +++ b/audit/audit.asm @@ -19,6 +19,10 @@ main: !zone detect { jsr IDENTIFY lda MACHINE + jsr PRBYTE + lda #$8D + jsr COUT + lda MACHINE bne .known ;; MACHINE=0 - unknown machine jsr print diff --git a/audit/audit.dsk b/audit/audit.dsk index aa32df5d178b686e43c39b89d9b47480bc0b2ccf..cd69ef549921ecfb354627b78257ada5f311de9d 100644 GIT binary patch delta 687 zcmY*XO=uHA6rRnt+pXBT#0F9$bX#c~N=>(|mK;4v4~vLLPtMMzC(m9aQK$s$NH8Gu zwiGHXI8gA^Lt)b<>Og+RW&>3(IR>F&5F~`s)|ahP9EQit_r7oV-g}d6>DiXPGoXwa zxF|%W>~iiFnQ;(X*r*ITEOanJ-#eE;6t2RxF$C0D@Io??z0SX7F<=Kk{xglMQJD3SAz=Mm-FV-aUaR2PUa7z(Nu z5jsOh)kPxHEax-Ss-}q4Sk|{6ITyssTc3V;3q>k0lWd8sYizmjFgiQj#h%4p_;$DO zJbK^iIlBnGLz_J(Cw|!q(%re;p0kNiPIT9HRJ-eV_v|jVe`Bvh2YtGAT^mt-ionxV z-VvjtZ^vWNmh%(+zX}uMmCWC%h)S~&HfoJd;x#&jJCj(bohi(Y&!h&kvE!Ic;Z-(? zS3UGZe+D(u6oK040>pq?5Rd300oSlSM5hUzA=?^VBHKfBnRqAbLtAL?4uQnp-F|Ll zn#h}(b{jAmTi09!@K;TCLPYf1qLDTy&hn~#)c+&HSrEog^nD9Jnj~-L$i_TLo_v@m zeq=}avN1z^MOF$TSh!R(Hw&KhkWxB%tGWGL9>Xk zXa_uWuM49fo|DRJ=!$mVfy(9QO9kF~!a&q9iO?80=`54D%r<-m2Aw>K5qsrZ6`KLk zDI}akZEM|s}MJBUz8x_C|16l{n2({dRI!*ah@vWYH z3L#V!1vw8E+RmDqUGGiiQl&Xur8*wxuu#W3W}}N3nWMi}My>-_SPoY_u%^9`J<>dp zz0rb<5jABzq02<}ERP4MPUr&JMRbMiPSGOq&g)YI{aiaJNs=1m-6GjsBCF>gmx!-4;MdIs;zMzR z<%vjp>rx;+C7q|^d5+>)o)W6{(&nmomJAkqHF`%DoUBRcR|`_a>}%tV0Y4Z@_8+=R BF#!Mo diff --git a/audit/technote2.asm b/audit/technote2.asm index 8744505..812b132 100644 --- a/audit/technote2.asm +++ b/audit/technote2.asm @@ -204,7 +204,7 @@ IDENTIFY lda .lc1 ;bank on and check cmp .save beq .exit3 - lda $C081 + lda $C080 jmp .exit6 .exit3 lda .lc2 cmp .save+1 ;if all locations check @@ -327,13 +327,13 @@ IDENTIFY ;;; * The storage locations for the returned machine ID: -MACHINE !byte 1 ;the type of Apple II -ROMLEVEL !byte 1 ;which revision of the machine -MEMORY !byte 1 ;how much memory (up to 128K) -.IIgsA !byte 2 ;16-bit field -.IIgsX !byte 2 ;16-bit field -.IIgsY !byte 2 ;16-bit field -.save !byte 6 ;six bytes for saved data +MACHINE !byte 0 ;the type of Apple II +ROMLEVEL !byte 0 ;which revision of the machine +MEMORY !byte 0 ;how much memory (up to 128K) +.IIgsA !word 0 ;16-bit field +.IIgsX !word 0 ;16-bit field +.IIgsY !word 0 ;16-bit field +.save !fill 6,0 ;six bytes for saved data .IDTable ;dc I1'1,1' ;Apple ][