9:*蹡HCD人丁刁丁N了乙七力刀升AUT枵UM倛M專第忐粌S鼾S藏陟I靪姈友そ  ********************* ** ** ** HEX-A-CON **** *********************** AJ #B-@@J(&9-@@8"--@@5(9  @-@@@(&!C-@@8"--@@5(9 C A2*** START OF PROGRAM! ***4L-@@ L( $HEX %BINARY >:@4,ASCII ;ASSEMBLER =MATH 6E-@@!;(!Input a number (0-65535/$FFFF)E AU7A`8 A' @`':i_A0AAAPAA AUAAPAbAai A<譁迋蹉鼯=4MENU% D:MENU.BAS>4BOOT6-?:B,? 4DOS+.@4AUTOA`A 4RUN%B4OFFAUPC4SAVEB D4HELP)4?ApE4LISTApF"4SUPER"%D:SUPERHEX.BASG 46-@$H 4L6-@ $I 4-6-@$J 4+6-@$K+7@<@,4=(6-@+$L+7@<@,4;(6-@+$M+7@<@,4@(6-@+$N+7@<@,4%(6-@+$O+7@<@,4>(6-@+$P2#7@<@,4>:@4,/6-@2$Q2#7@<@,3>:A(,/6-@2$RiZ7@<@,4$)+7@<@,3>:@d,*7@<@,2>:@q,,f6-@i$Z6-6-A:,$d臢藷譏埧袀觴玸埩恓n5 A AP! A+ A5 A薺恔砣芩埱蚥譎奻b 4>-@@ F($LDA# :ADC/SBC(CMP)#=MSB :LSB=STATUSX-@@!b AW6.7@, A`)(INPUT A+N or A-N...) As6-6-'6-36-= A S!AU)!AUi6.BYTE TOO LARGE!s AU''ArAsAtAu6.OOPS! AU/%6-?:C:hhh岝heh牣,<<,/ A6. NO MULTIPLY AU6. NO DEVIDE AU%%6-?:C:hhh岝h8樗h牣,<<,q6-F:A,!6-F:A,16-%$AV; AE AQ6-[6.N/Ag6. N/A q A臢婘霰蟹芩+7@<@,4$+6.7@,6-6.$-@B:,6.7<,@10*/9$6-$@%A:,( 767@,.=6-@$O1A*/F36-$@%@:,&@:A,%@7 F67@,.L6-O$ @`$,蚚疻曬玸婕梊1QQ6-?:C:!hh玭岝毖姺h捺唄禠禢庈瀫,<+%A`,<+%A@,<@,6q-@@=(#O-@@W( i-@@q( ;-@@(@-@'@(E-@3@(J-@&B:,@(O%A@:7%@,,T%A@:7%@,,Y-@"@(^'-@@'( cN$-@&+B:,'@,@((4!AUF-@@N(枅hC-@@( )!A@;-@@C(枅r6- @P| 妅俷< AAR#5AR@9 <$霰蟹芩婘臢 6-A:,!! )!BU5AU6-@6-6.$* 6-6-P:'@,*6-&$@!@ AE67<,.=:, AP 67<,.>:&@%@:A,,'6-&@' A%# 6-#67@,.7<@,枅簪邲蚥譎奻6-P:+'A@,$@,6-P:+&$AV,,$狪埡婘霰蟹芩0-@B:,0A:7<,,!@AU 6.7@,6.@PB:, @#6-@&B:,)6.:67%@,.P67@<,.000067B:,%@,. 6-A$A:7@<@,,%@d$A:7@<@,,%@$A:7@<@,,%@$A:7@<@,, 6- $&霰蟹芩婘狪埡+" 6-"67@<@,.@0!A@6-5Y -@@6@16-P:'@,A6-&@$O67<,.=:,U6-Y W$X霰蟹芩薺恔砣]6.00000000 00000000bT 6- A0*67@<@,.06-: A0Q67@<@,.T$vU -@@6@16-P:'@,A6-&@$O67<,.=:,U6-   $薺恔砣霰蟹芩n6.7@,6--B:, @>6-@&B:,D6.U67%@,.n67@<,.0000000)6-@)-B:,@6@##7<,01*7<,00AU'6-%$A:7<,,#6-$@' 0!BU5&6.16 BITS MAXIMUM!0 AU 6- $轂輾蟹伔霰蟹芩6.7@,$B:, @6-@:,!6-$$76-@:7@<@,,76-@:7@<@,,6-%$AV6-KB:,!@$-@@"A( 玴枘 蠍轄謄埧眑/K A$枅簪邲妅俷^ A-@@"&(8-@@!J( Input LSBT A^ @`!@AL7A0A@AAAPAC"L6-A:,[ 6--@@"#(5-@@!G( Input MSBQ A[ @`!@AL7A0A@AAAPAC"L6-A:, ' 6-'!AU)!AUA6-%$AV6-$%6.NUMBER TOO LARGE!% AU"6.ILLEGAL INPUT!" AU 馨蚆衶攪蟯籤%#A0%* "/ 6. --- ??? ---4$>輾蚥苂旼C0;APHv-@@ >($ A,#,ABS,ZERO,(IND),(IND/X),(IND)/Y P-@@!l( ;INPUT SOURCE CODEv AR+7@<@,4;+6.7@,\+ 6-B:,6-?:C:,=BINARY MATH). A.7@<@,4>APx A -@@!D( ONE MOMENT PLEASE...P6-i7@<@,4=x6.7@, A ''A PA `A pA E 6.-@B:,E7<,4+)7<,4-)7<,4*A qq+7<,4/,*+7%@<%@,0X,*+7%@<%@,0Y,*+7%@<%@,0),A  &6.IMPROPER EQUATION!& AU_'6.7@<&@,) @`UA0AAAPA_ A q 6-6-+6.7%@:@:7<,,&A(,  A@@+;@,;@,;@,;@&,;@,;@,;@ ,;AV,;@,;@%, B'@@d'B7t@dJ-@@"5(G-@@"J$l@ v F:@ , A A$譁挋籤蚕玴埡蟯::6.0@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ *67B:,%@,. !66-A#B6-B_67B:,%@,.>:@4,67B:,%@,. #$%&'()*+,-./hh67B:,%@,.P0123456789:;<=>?`abcdefghijklmnopqrstuvwxyz{|}~擱藏霰っ圴佮迓玿旂衲欶趹欹詘棰y367B:,%@,.P67B:,%@,.>:AU,y67B:,%@,.﹜ㄓ它夾帚型陋*HH67B:,%@,.0停眾斯須號獄播噶颬睼麧緗鴇膹擨闀貘覷鏷禴矙%%6-F:@,%F:@,$AV A@ A! A AP! A$SS0,124,0,40,37,56,33,35,47,46,0,17,14,22,0,98,121,0,52,105,109,0,48,97,116,114 //105,99,107,0,17,17,15,25,15,24,20,0,124,0 OO0,89,0,35,111,112,121,114,105,103,104,116,0,8,99,9,0,17,25,24,20,15,24,22 330,39,37,35,43,47,54,41,51,41,47,46,14,0,217,0 BRK ,0 ORA (IND/X) ,1 ORA ZERO ,5 ASL ZERO ,6 PHP ,8 ORA # ,9 ASL A ,10 ORA ABS ,13 ASL ABS ,14 BPL ,16 ORA (IND)/Y ,17 ORA ZERO/X ,21 ASL ZERO/X ,22 CLC ,24 ORA ABS/Y ,25 ORA ABS/X ,29 ASL ABS/X ,30 JSR ABS ,32 AND (IND/X) ,33 BIT ZERO ,36 AND ZERO ,37 ROL ZERO ,38 PLP ,40 AND # ,41 ROL A ,42 BIT ABS ,44 AND ABS ,45 ROL ABS ,46 BMI ,48 AND (IND)/Y ,49 AND ZERO/X ,53 ROL ZERO/X ,54 SEC ,56 AND ABS/Y ,57 AND ABS/X ,61 ROL ABS/X ,62 RTI ,64 EOR (IND/X) ,65 EOR ZERO ,69 LSR ZERO ,70 PHA ,72 EOR # ,73 LSR A ,74 JMP ABS ,76 EOR ABS ,77 LSR ABS ,78 BVC ,80 EOR (IND)/Y ,81 EOR ZERO/X ,85 LSR ZERO/X ,86 CLI ,88 EOR ABS/Y ,89 EOR ABS/X ,93 LSR ABS/X ,94 RTS ,96 ADC (IND/X) ,97 ADC ZERO ,101 ROR ZERO ,102 PLA ,104! ADC # ,105" ROR A ,106$ JMP (IND) ,108% ADC ABS ,109& ROR ABS ,110( BVS ,112) ADC (IND)/Y ,113- ADC ZERO/X ,117. ROR ZERO/X ,1180 SEI ,1201 ADC ABS/Y ,1215 ADC ABS/X ,1256 ROR ABS/X ,1269 STA (IND/X) ,129< STY ZERO ,132= STA ZERO ,133> STX ZERO ,134@ DEY ,136B TXA ,138D STY ABS ,140E STA ABS ,141F STX ABS ,142H BCC ,144I STA (IND)/Y ,145L STY ZERO/X ,148M STA ZERO/X ,149N STX ZERO/Y ,150P TYA ,152Q STA ABS/Y ,153R TXS ,154U STA ABS/X ,157X LDY # ,160Y LDA (IND/X) ,161Z LDX # ,162\ LDY ZERO ,164] LDA ZERO ,165^ LDX ZERO ,166` TAY ,168a LDA # ,169b TAX ,170d LDY ABS ,172e LDA ABS ,173f LDX ABS ,174h BCS ,176i LDA (IND)/Y ,177l LDY ZERO/X ,180m LDA ZERO/X ,181n LDX ZERO/Y ,182p CLV ,184q LDA ABS/Y ,185r TSX ,186t LDY ABS/X ,188u LDA ABS/X ,189v LDX ABS/Y ,190x CPY # ,192y CMP (IND/X) ,193| CPY ZERO ,196} CMP ZERO ,197~ DEC ZERO ,198 INY ,200 CMP # ,201 DEX ,202 CPY ABS ,204 CMP ABS ,205 DEC ABS ,206 BNE ,208 CMP (IND)/Y ,209 CMP ZERO/X ,213 DEC ZERO/X ,214 CLD ,216 CMP ABS/Y ,217 CMP ABS/X ,221 DEC ABS/X ,222 CPX # ,224 SBC (IND/X) ,225 CPX ZERO ,228 SBC ZERO ,229 INC ZERO ,230 INX ,232 SBC # ,233 NOP ,234 CPX ABS ,236 SBC ABS ,237 INC ABS ,238 BEQ ,240 SBC (IND)/Y ,241 SBC ZERO/X ,245 INC ZERO/X ,246 SED ,248 SBC ABS/Y ,249 SBC ABS/X ,253 INC ABS/X ,254 --- ??? ---,255;A,6.h''67B:,%@,.h愫鈏h唹犍((67B:,%@,.穴q犍罧((67B:,%@,.晝伓剞晝 ((67B:,%@,.穴i琤罧((67B:,%@,.族0-栲蹜 賾((67B:,%@,.穴q犍罧晝((67B:,%@,.伢倰晝 陊((67B:,%@,.悷齟倗晝埱晝67B:,%@,.`$|{'-@@"I(妅俷籤眐牷>:@4,>:@4,S AeA@dwA{ ! A A! @P + Bp!6-@!AdAUu F:Ad,"AUA` z!AdAU!6-%%6-%@%AV$+!AU,6-$+ BU6, A)6-+%@,$+ BU5,) A81'6-+&@,%BU6$+ @,1 AX妅衲眙譎奻扃b (}#Apl"v4)4曬ApP( Ap AdAU6-F:Ad,"@3*4Ap @Ap`% #At` Ap ++妅衲眙譎奻扃 HEXACON Revision 1.5,<<HEXACON is a very powerful number,conversion utility.,OOIt will convert all common numbering,formats used by 6502 programmers andQQit performs integer calculations with,numbers of different formats (+-*/).,LLThe program has an easy input syntax,that allows quick direct entry ofZZDECIMAL and HEXADECIMAL numbers and,simple conversions of all other,number formats!,]]Hit 衄謄 for next page...,,}妅衲眙譎奻扃 HEXACON Page - 2,,The input syntax is:,--Prefix Number 疻婭眛,,THE PREFIXES ARE: ee$ Hexadecimal (base 16 09/AF),% Binary (base 2 01),@ Octal (base 8 07)ZZ" ATASCII/ASCII (atari ASCII),; Assembly language routines,= Math routines (integer) %%> Machine level math,,EXAMPLES:*TT$D301 (hex conversion),;LDA ABS/Y (assembly lang.),%10110010 (binary)4;;>3-2 (M/L 3-2),,Hit 衄謄 for next page...,>MM}妅衲眙譎奻扃 HEXACON Page - 3,,The input routine will determine theHMMtype of number you have entered and,call all of the conversion routinesMSSfor you!,,Any 妅秸眑 entry is assumed to be,in HEXADECIMAL! (no "$" needed!)RAAThis allows fast direct entry for,HEXADECIMAL conversions!,WeeIn about a second the conversion,will be complete and displayed in,all number formats at once!,\LLThe Assembler and Math routines can,run in a default mode. Just enterfjjthe prefix and 疻婭眛 and a new,input prompt will appear... then,enter the data without the ; or =.,p$$Hit 衄謄 for next page...,z\\}妅衲眙譎奻扃 HEXACON Page - 4,,(DEFAULT MODES),,The Assembler routine will print allnew prompt line with the syntax of,the addressing modes to enter.,,The Math routine will let you inputNNdata in the following syntax,,=$4D+%11000111,(Hex 4D + Binary 11000111),JJleave out the = in the default mode.,,Hit 衄謄 for next page...,kk}妅衲眙譎奻扃 HEXACON page - 5,,MACHINE LANGUAGE (BINARY) MATH,,This routine performs true machineOOlevel math only + and - are allowed.,,The routine will display the answer]]as the MSB and it will show the,flag bits of the processor status,register as the LSB.,MMPlease note that this routine uses,true M/L math and that the flags setIIare the actual bit patterns of the,6502 Processor status register.,KKThese may not agree with results in,some books on M/L (especially thellCARRY flag). This is because some,books describe the flags incorrectly!,,Hit 衄謄 for next page...cc,}妅衲眙譎奻扃 HEXACON Page - 6,,(M/L continued...),,The SBC (subtract) and CMP (compare)HHinstructions have exactly the same,effect on the status register!,;;You can input one command as follows:,,>255-$D6疻婭眛__(Decimal 255 minus Hex $D6),,or you may enter >疻婭眛,,to get the M/L MATH input prompt.,$$Hit 衄謄 for next page...,$''}妅衲眙譎奻扃 HEXACON Page -7,)NNREMEMBER: Use 妅秸眑 for fast direct,entry of HEX (without using the $).ddand NORMAL (no prefix) for DECIMAL!,All other number types use NORMAL,with a prefix ("$%@;=>),8jjLIST OF AVAILABLE COMMANDS:,RUN ..... restarts program,DOS ..... exits to DOS,OFF ..... exit programBhhBOOT .... reboot system,AUTO .... demo mode,LIST .... this command list!,HELP .... read help file!LaaSUPER ... RUN "SUPERHEX",L ....... LSB/MSB input routine,,Use the "LIST" command to displayVmmthis list directly. HEX numbers,that begin with AF need no prefix.,,That's all...Hit 疻婭眛 to RUN!` 曬(m6.0123456789ABCDEF,AR@2(}D-@@m($臢輾霰蟹芩枅邲(}-@@@(&輾蚥苂旼狪埡泆薺恔砣們蚋翅蚋R-@}(&(}-@@@(&| GECKOVISION Software presents... |R-@@}(&(}-@@@(&R-@@}(& Initialization please wait... (@-@@@(&(4-@"@"(NV_BDIZC4-@@(b-@"@"(765432104-@@U(Enter HELP for instructions!_ A b$)QQ|, ,4,8,/,9,/,1,1, ,k,c,i,r,t,a,P, ,m,i,T, ,y,b, ,6,.,1, ,N,O,C,A,X,E,H, ,|)QQ, ,.,N,O,I,S,I,V,O,K,C,E,G, ,6,8,/,4,8,9,1, ,),c,(, ,t,h,g,i,r,y,p,o,C, ,0uF:%A$,Ah%:uGDF:%@X,"@R*F:%@Y,"A*F:%@b,"@HG$DuR#-@@@y"'%+ ?-A AYC"K%O R$}Q B+,-@@;( SAVING...ND1:HEXACON.BASQ%%