IMD 1.16: 28/05/2007 16:22:41 -FOG/UTL007   Ã\ÒÃXÒ COPYRIGHT (C) 1979, DIGITAL RESEARCH Ï_ÃÅÍŒÏÁÉ> Í’Ï> Ã’Ï> Ã’ÏÅ͘Ïá~·È#åÍŒÏáìÏ Ã_ÃÍ2îÖ<ÉÃÃϯ2íÖÍÖÃËÏÃÃÏÃÃÏÃÃÏÍÖÃßÏÃÍ·ÉÃôÏÍÖÃùÏÃôÏÃÃÏÃÿ ÃÍЇ‡‡‡!ïÖ¶2É:ïÖ2ÉþaØþ{Ðæ_É:«Ö·Ê–Ð:ïÖ·>ĽÏ¬ÖÍËÏÊ–Ð:»Ö=2ÌÖ¬ÖÍùÏ–ÐÏ!€€ÍBÓ!ºÖ6#5¬ÖÍÚÏÊ–Ð:ïַĽÏ!ÏͬÏÍÂÐʧÐÍÝÐÂÒÍÝÐÍÐ ÏÍÍ)Ð!ÏF#x·ÊºÐ~Í0ÐwëÐw!Ï"ˆÏÉ Í·ÈÍ·ÉÀÃ!«Ö~·È6¯Í½Ï¬ÖÍïÏ:ïÖýÏ(Ò!×¾ÂÏÒ#ÂýÐÉ͘Ï*ŠÏ~þ Ê"Ñ·Ê"ÑåÍŒÏá#ÃÑ>?ÍŒÏ͘ÏÍÝÐÂÒ·Èþ Ú ÑÈþ=Èþ_Èþ.Èþ:Èþ;Èþ<Èþ>ÈÉ·Èþ ÀÃOÑ…oÐ$É>!ÍÖÍYÑåå¯2ðÖ*ˆÏëÍOÑë"ŠÏëá·Ê‰ÑÞ@Gþ:Ê�Ñ:ïÖwÖÑx2ðÖpÍ0ÑʹÑ#þ*©Ñ6?ëÑw˜ÑÍ0ÑÊÀÑïÑ#6 ¹Ñþ.ÂéÑÍ0ÑÊéÑ#þ*ÂÙÑ6?ÃÛÑwÂÈÑÍ0ÑÊðÑÃßÑ#6 ÂéÑ#6ÂòÑë"ˆÏá #~þ? Ò ÂÒx·ÉDIR ERA TYPESAVEREN USERóSÄ!ÒyþÐÎÖ¾ÂOÒ#Â<Òþ ÂTÒyÉ#ÂOÒ Ã3Ò¯2Ï1«ÖÅyæ_ÍÐ͸Ï2«ÖÁyæ2ïÖͽÏ:Ϸ˜Ò1«Ö͘ÏÍÐÐÆAÍŒÏ>>ÍŒÏÍ9Ð€ÍØÐÍÐÐ2ïÖÍ^ÑÄ Ñ:ðÖ·Â¥ÕÍ.Ò!ÁÒ_~#foéwÓÔ]Ô­ÔÕŽÕ¥Õ!óv"Ï!ÏéßÒçÏREAD ERRORðÒçÏNO FILEÍ^Ñ:ðÖ·Â Ñ!ÎÖ ~þ Ê3Ó#Ö0þ Ò ÑWxæà Ñx€Ú Ñ€Ú Ñ‚Ú ÑG ÂÓÉ~þ  Ñ# Â3ÓxÉ~#ÂBÓÉ!€�ÍYÑ~ɯ2ÍÖ:ðÖ·È=!ïÖ¾ÈýÏ:ðÖ·È=!ïÖ¾È:ïÖýÏÍ^ÑÍTÓ!ÎÖ~þ Â�Ó 6?#ˆÓÕÍéÏÌêÒÊÔ:îÖæ`O> ÍKÓÚÔÑ{ÕæõÂÌÓ͘ÏÅÍÐÐÁÆAÍ’Ï>:Í’ÏÃÔÓÍ¢Ï>:Í’ÏÍ¢ÏxÍKÓæþ ÂùÓñõþÂ÷Ó> ÍKÓæþ ÊÔ> Í’Ïxþ ÒÔþ ÂÙÓÍ¢ÏÃÙÓñÍÂÐÂÔÍäÏØÓÑÆÖÍ^Ñþ ÂBÔRÔͧÏÍ9Ð!Ï5‚Ò#~þY‚Ò#"ˆÏÍTÓÍÖÍïÏ<ÌêÒÆÖALL (Y/N)?Í^Ñ ÑÍTÓÍÐÏʧÔ͘Ï!ñÖ6ÿ!ñÖ~þ€Ú‡ÔåÍþÏá ԯw4!€ÍYÑ~þʆÖÍŒÏÍÂІÖÃtÔ=ʆÖÍÙÒÍfÓà ÑÍøÒõÍ^Ñ ÑÍTÓÍÖÕÍïÏÑÍ ÐÊûÔ¯2íÖño&)|µÊñÔ+å!€åÍØÐÍÖÍÐÑáÂûÔÃÔÔÍÖÍÚÏ<ÂÕÕͧÏÍÕÐÆÖNO SPACEÍ^Ñ Ñ:ðÖõÍTÓÍéÏÂyÕ!ÍÖÝÖÍBÓ*ˆÏëÍOÑþ=Ê?Õþ_ÂsÕë#"ˆÏÍ^ÑÂsÕñG!ðÖ~·ÊYÕ¸pÂsÕp¯2ÍÖÍéÏÊmÕÍÖÍÐÆÖÍêÒÆÖÍfÓà Ñ‚ÕͧÏÆÖFILE EXISTSÍøÒþÒ Ñ_:ÎÖþ Ê ÑÍÐÉÖÍõÐ:ÎÖþ ÂÄÕ:ðַʉÖ=2ïÖÍ)ÐͽÏÉÖÖÖþ  ÑÕÍTÓÑ!ƒÖÍ@ÓÍÐÏÊkÖ!åëÍØÐÍÖÍùÏÂÖá€Ï}“|šÒqÖÃáÕá=ÂqÖÍfÓÍ^Ñ!ðÖå~2ÍÖ>Í`Ñá~2ÝÖ¯2íÖ\!ÍÖ!ÍBÓ!Ï~·Ê>Öþ Ê>Ö#Ã0Ö�~·ÊOÖ#ÃCÖx2€Í˜ÏÍÕÐÍÐÍ1«ÖÍ)ÐͽÏÂÒÍfÓà ÑzÖͧÏÆÖBAD LOADCOMÍfÓÍ^Ñ:ÎÖÖ !ðÖ¶Â ÑÂÒ$$$ SUBóSÄÃיץ׫ױ×ë"CÚë{2Öä!"EÚ9"Ú1AÚ¯2àä2Þä!täåyþ)ÐK!G×_^#V*CÚëéåÈÙ�ØÎÙååÔÙíÙóÙøÙáØþÙ~ãƒãEãœã¥ã«ãÈã×ãàãæãìãõãþãä ää,Üää&ä-äAäGäMäãSäÚÚ›ä!Ê×Íå×þÊÉ!Õ×ô×!á×ô×!Ü×Íå×ÃBdos Err On : $Bad Sector$Select$File R/O$åÍÉØ:BÚÆA2Æ×º×ÍÓØÁÍÓØ!Ú~6·Àà åÍû×ÍØØõOÍ�ØñÉþ Èþ Èþ ÈþÈþ É:Ú·ÂEØÍåæÈÍ åþÂBØÍ åþʯÉ2Ú>É: Ú·ÂbØÅÍ#ØÁÅÍ åÁÅ: Ú·ÄåÁy! ÚþÈ4þ Ð5~·ÈyþÂyØ5Éþ À6ÉyÍØÒ�Øõ^ÍHØñö@Oyþ ÂHØ ÍHØ: Úæ–ØÉͬØ Í åà å#ÍHØÍÉØ: Ú! ھРÍHØÃ¹Ø ÍHØ ÃHØ þ$ÈÅOÍ�ØÁÃÓØ: Ú2 Ú*CÚN#åÅåÍû׿áÁþ ÊÁÙþ Ê  ÁÙþÂÙx·ÊïØ: Ú2 ÚÃpÙþÂ&Ùx·ÊïØ~+éÙþÂ7ÙÅåÍÉØ¯2 ÚÃñØþÂHÙå! Ú>–wáÃïØþÂ_Ùá: Ú! Ú¾ÒáØ5ͤØÃNÙþÂkÙͱØáÃáØþ¦ÙÅͱØÁáåÅx·ÊŠÙ#NÅåÍØáÁÃxÙå: Ú·ÊñØ! Ú–2 ÚͤØ! Ú5™ÙÃñØ#wÅåOÍØáÁ~þx½ÙþʹÚïØáp ÃHØÍØÃÚÍåÃÚy<ÊàÙ<Êåà åÍå·Ê‘äÍ åÃÚ:ÃÚ!qÉëMDÃÓØÍ#Ø2EÚÉ>ÃÚ! ×^#Vëé Èw#ÃPÚ:BÚOÍå|µÈ^#V#"³ä##"µä##"·ä##ë"Ðä!¹äÍOÚ*»äë!ÁäÍOÚ*Æä|!Ýä6ÿ·Ê�Ú6>ÿ·ÉÍå¯*µäw#w*·äw#wÉÍ'åûÚÍ*å·È! ×ÃJÚ*êäÍêÛ"åä"ìä!åäN#F*·ä^#V*µä~#foy“xšÒúÚå*Áä{•_zœWá+ÃäÚå*ÁäÚÛy•xœÚÛëá#ÃúÚáÅÕåë*ÎäDMÍåÑ*µäs#rÑ*·äs#rÁy“OxšG*ÐäëÍ0åMDÃ!å!ÃäN:ãä· ÂEÛG>–O:âä Ê\Û·ÃSÛ€É*CÚ :Ýä·ÊqÛn&É ^#VëÉÍ>ÛOÍ^Û"åäÉ*åä}´É:Ãä*åä)=Â�Û"çä:ÄäO:ã䡵o"åäÉ*CÚ É*CÚë!ÉÍ®Û~2ãäë~2áäͦÛ:Åä¦2âäÉÍ®Û:ÕäþÂÞÛ¯O:ãä�wë:áäwÉ È|·g}oÃëÛ€*¹ä¯†# ÂýÛÉ È)ÃÜÅ:BÚO!ÍÜÁyµox´gÉ*­ä:BÚOÍêÛ}æÉ!­äN#FÍ Ü"­ä*Èä#ë*³äs#rÉÍ^Ü ~Ð!×ÃJÚÍÜÈ! ×ÃJÚ*¹ä:éä…oÐ$É*CÚ~ÉÍiÜ6ÉÍiÜö€wÉ*êäë*³ä{–#zžÉÍÜØr+sÉ{•ozœgÉÿ*ìäë*ÌäÍ•ÜÐÅÍ÷Û*½äë*ìäÁ ÊÄܾÈÍÜÐÍ,ÜÉwÉÍœÜÍàÜ͸ÚÃÚÜÍàÜͲÚ!±äÃãÜ!¹äN#FÃ$å*¹äë*±ä€ÃOÚ!êä~#¾À<É!ÿÿ"êäÉ*Èäë*êä#"êäÍ•ÜÒÝÃþÜ:ê俇 Ý2éä·ÀÅÍÃÚÍÔÜÁÞÜyæ<_WyæOx‡‡‡‡‡±OxæG*¿ä ~ÂVÝÉÕÍ5ÝæþÁ±ÂdÝwÉÍ^ÜÅÑ ÈÕ:Ýä·ÊˆÝÅåNÃŽÝ ÅN#Fåy°Ê�Ý*Æä}‘|˜Ô\Ýá#ÁÃuÝ*ÆäÍêÛ#DM*¿ä6# x±Â±Ý*Êäë*¿äs#rÍ¡Ú*³ä6#6ÍþÜÿÍÝÍõÜÈÍ^Ü>å¾ÊÒÝ:AÚ¾ÂöÝ#~Ö$ÂöÝ=2EÚÍkÝÍŒÜÃÒÝ:ÔäÃÚÅõ:Åä/Gy Oñ ‘æÁÉ>ÿ2Ôä!Øäq*CÚ"ÙäÍþÜÍ¡ÚÍÝÍõÜÊ”Þ*ÙäëþåÊJÞÕÍÜÑÒ”ÞÍ^Ü:ØäOy·ÊƒÞþ?Ê|Þxþ Ê|Þþ ÊsÞ–æÂ-ÞÃ|ÞÅNÍÞÁÂ-Þ# ÃSÞ:êäæ2EÚ!Ôä~ЯwÉÍþÜ>ÿÃÚÍTÜ ÍÞÍõÜÈÍDÜÍ^Ü6åÍkÝÍÆÜÍ-ÞäÞPYy°ÊÑÞ ÕÅÍ5ÝÒìÞÁÑ*Æä{•zœÒôÞÅÕBKÍ5ÝÒìÞÑÁÃÀÞ<ÍdÝáÑÉy°ÂÀÞ!É Õ*CÚ ëÍ^ÜÁÍOÚÍÃÚÃÆÜÍTÜ ÍÞ*CÚ~wÍõÜÈÍDÜ ÍßÍ-ÞÃ'ß ÍÞÍõÜÈ ÍßÍ-ÞÃ@ßÍÞÍõÜÈͦÛ~õåÍ^Üë*CÚ ÕÍOÚÍxÜÑ! N!Fáñwy¾xÊ‹ß>Ú‹ß>€*CÚwÉ~#¶+Àw#w+ɯ2EÚ2êä2ëäÍÜÀÍiÜæ€ÀÍÞÍõÜÈÍ^Ü ë*CÚ :Ýä·Êèß~·ÂÛßw·Âáß~¾ÂàÃýßÍ”ßëÍ”ßë¾Âà#¾Âà # ÂÍßìÿ ë ¾Úàw ë ~>ÿ2ÒäÃß!EÚ5ÉÍTÜ*CÚå!¬ä"CÚÍÞÍõÜá"CÚÈë!¯w# ÂFà! wÍŒÜÍýÞÃxܯ2ÒäÍ¢ßÍõÜÈ*CÚ ~<æwʃàG:Åä !Òä¦ÊŽàìà 4~æʶàÍÞÍõܬà:Óä<ʶàÍ$àÍõÜʶàïàÍZßͻۯÃÚÍÚÃxÜ>2Õä>ÿ2ÓäÍ»Û:ãä!áä¾Úæàþ€ÂûàÍZà¯2ãä:EÚ·ÂûàÍwÛÍ„ÛÊûàÍŠÛÍÑÚͲÚÃÒÛÃÚ>2Õä>2ÓäÍTÜ*CÚÍGÜÍ»Û:ãäþ€ÒÚÍwÛÍ„ÛÂnáÍ>Û2×ä·Ê;áO Í^ÛDM;Þ}´ÂHá>ÃÚ"åäë*CÚ :Ýä·:×äÊdáÍdÜsÃláO s#r:EÚ·ÀÅÍŠÛ:Õä==»áÁÅy==»áå*¹äWw#òŒáÍàÜ*çä"åäÅÍÑÚÁ͸Ú*åä:ÄäG¥¸#šáá"åäÍÚÜÍÑÚÁÅ͸ÚÁ:ãä!áä¾ÚÒáw4 ÂßáõÍiÜæwñþÂâ:ÕäþÂâÍÒÛÍZà!EÚ~·Âþá=2ãä6ÃÒÛ¯2ÕäÅ*CÚë!!~æõ~#~æO~æGñ#n,-.‹â! w! y–ÂGâ!x–æÊâÅÕÍ¢ßÑÁ.:EÚ<Ê„â! q!pÍQß:EÚ<ÂâÁÅ. Ê„âÍ$à.:EÚ<Ê„âÁ¯ÃÚåÍiÜ6ÀáÁ}2EÚÃxÜÿÍâÌÁàÉÍâÌáÉëN! ~æ€�O>ˆG~æ€G!~‡‡‡‡õ€Gõá}áµæÉ ÍÞ*CÚ!år#r#rÍõÜÊ ãÍ^ÜÍ¥âáå_y–#xž#{žÚ  ãs+p+qÍ-ÞÃäâáÉ*CÚ Í¥â!!q#p#wÉ*¯ä:BÚOÍêÛåëÍYÚáÌGÚ}Ø*¯äMDÍ Ü"¯äãÝ:Öä!BÚ¾ÈwÃ!ã>ÿ2Þä*CÚ~æ=2ÖäþÒuã:BÚ2ßä~2àäæàwÍEã:AÚ*CÚ¶wÉ>"ÃÚ!"­ä"¯ä¯2BÚ!€"±äÍÚÜÃ!ãÍrÜÍQãÃQßÍQãâßë~þ?ÊÂãͦÛ~þ?ÄrÜÍQãÍÞÃéÜ*Ùä"CÚÍQãÍ-ÞÃéÜÍQãÍœÞÃÞÍQãüàÍQãÃþàÍrÜÍQãÃ$àÍQãÍßÃÞ*¯äÃ)ä:BÚÃÚë"±äÃÚÜ*¿äÃ)ä*­äÃ)äÍQãÍ;ßÃÞ*»ä"EÚÉ:ÖäþÿÂ;ä:AÚÃÚæ2AÚÉÍQãÓâÍQãÜâÍQãÃÒâ*CÚ}/_|/*¯ä¤W}£_*­äë"¯ä}£o|¢g"­äÉ:Þä·Ê‘ä*CÚ6:àä·Ê‘äw:ßä2ÖäÍEã*Úù*EÚ}DÉÍQã>2ÕäÍâÌáÉå€à çÃ4çà éÃéÃéÃéÃ%éÃ-éßæÃ°æÃÝæÃðæÃõæÃÓçÃðçÃ5éÃúæÃOæÃjæÍcæÍcæÍcæÍcæÍcæÍcæÍcæÍcæÍcæÍcæÍcæÍcæÍcæÃ„êÃŽê@ÿU€’å“å”å•å–å—å˜å™åšå›åœå�åžåŸå åAUTOST 0123456789   æ€î5æ0ï$ïæ€î5æ@ï*ï-?€óÅOíy2ïÁûÉ:ïOíyýáÝááÑÁñí{oïûÉÑ{Ö_"�æó!91Áïå*�æóÓ>2ïûÕýáÍšæóõóÓ>2ïûñýáýùûÉûýéͪè¯2Pï2Rï2ï2ïÉyþÒÑæ2ïi&))))CæåxæÌjæáÉ!:‘À2ÉíCï*Sï}©O|¨±È¯2RïÉy2 ïÉíCïÉ:Uï¹Äëæy2Vïi`n&ÉGóÓ>2ïûx21Ï:få2:iåOÍ<å:jå2lï>1ÏÍŸæÏÍjæ· ô>õ€Íõæ!€í"ï¯2`ï<2²Ó>Ã22!å"!×"!cï"@!ŠåÁ:‰å (;~·(7ÏOí°8Osborne Computer System 60K CP/M 2.2A >¸(!’çÍýè!Ï:OéÍòè¯2RïÍKèáÑ€í°:"ï·È¯2PïöÉÍòèy2#ïþ >2Rï*ï"Sï:Vï<!Rï~·Ê*è5:Uï<þ *Sï#"Sï¯2Uï>ÿÍKèÑá€í°>2Qï:"ï·À:#ïþ̪è:"ï·É2!ï€í!€:ïë0ë)æ2ï*ïãÕå!Pï~6·(!ïï¾ #øÉͪè:ï2ï2ï*ï"ï"ï:ï2ï2ï:!ï·À>!Qï~·È6:ï2ï*ï"ï:ï2ï>_!'" é!ï4>2ï* éëÍjæ2"ïÈ:ï= êö2"ïɯ2"ï: ï2ïÉ~·#ÈåOÍ åáô!Né!Vé!^éÃ=é!néÃ=é!^éÃ=é!VéÃ=é!féÃ=é:ýæ_^#fkévé@êë£ê‡éIê›ëÚêËéNê¯ëæêÈé7êlëÈéËéTê¯ëæê:—é· :^ïîÈöÿÉÍäé!—é~·( Ý*…éÝ~4É Íhæþ€ØþŽÐË'_Ý!kåÝÝnÝfÝ^ÝVíS…éíR}2—é¿öÿÉ:`ïæ yþ :hå/2håÉ Ãhæ:hå·È*Zï)>d½8 :aïÖêȯ:aïÖêÆd½ÚêÖZ½Ø}Ö È}ÖdÆ !6êw:bïæÆ +w++ÅåNÍßéáÁ#õÉSÍŽêæÈöÿÉÍŽêæÈöÿÉÃhæÍhæÉÍNê:gå·Èæ > ¹ÀÍNêÍIêþ ùÉÍ@ê·ÈÍIêþÀÍIêþ ùÉÍÉëy2*Ã×ëÍÉë:,æ O:*æß±Ã×ë:¢ê·Ê­êöÿÉ:¡êÆ@OKÍhæ· òQÍhæË}(¯2¢ê_KÍhæ· ö:¢ê·ÈöÿÉÍ£ê(û!¢ê~6ÉÅ:¡êÆ OKÍhæ· òÁÅNÍhæÁ· ö?KÍhæ· öÉ: ëþÈ>*2)>ÿ2)>.2)>2)>¿2)>2)>2)>2 ëÉ: ëþÈ>*2)>2)>.2)>2)>¿2)>2)> 2)>2 ëÉÍÉëÍë:)æ@(öÿÃ×ëÍÉëÍ=ë:~ëæ€ :)2~ëæ€(öÿÃ×ëÍë(ûÍÉë¯2~ë:)/OÃ×ëÍlë(ûÍÉëy/2)>"2)>2)Ã×ëóõóÓ>2ïûñûÉóõóÓ>2ïûñûÉÏ  -FOG/UTL007RESOURCECOMORESOURCEDOCL DISASSEMBASzDISASSEMDOCREZ80 COM5 REZ80 DOC!TRANSLATCOM"#åTRANSLATDOC$ZDT COM8%&'(ZDT DOC)DISASSEMLTR*DISK DOC +åTYPER CO$-åTYPER DO$ååååååååååååååååååååååååååååååååååååÃÙÃí<== 103H IS RESTART ADDR RESOURCE by Ward Christensen (AS OF 03/03/81) (C) Copyright 1981 Type H for help, -H to delete help $"Permission for non-commercial use and distribution of object code granted"1(# ÍÍp ÍÖÍx¯24262!1(ͬÍå!N~þ ʸþ=Ê•þ-Êíþ.ÊNþ;ʹþ/ÊþAÊôþBÊþCÊ•þDʽþEÊ»þFÊ� þHÊÄþIÊ8þKÊÏþLÊ þMÊóþNÊÙþOÊ þPʪþQÊvþRÊD þSÊç þUÊþXÊtþZÊ þ?Êã ÍS? Ãí:Oþ Ú‹2©ÍSC/R = L command Ãí2O:©2NÃ:·Â,ÍS++Help has been deleted++ Ãí:OþHÂd:·ÊH!ÿ6  I#")wG#w# <w#¯2*D}!&"/“OxšGwx±Ê># Ã1"##6ÃËÍS++Already deleted++ Ãí!NÍ*"ÃíÍSY/N purge all symbols & CTL?ÍÍÖ:NþYÊêþNÊíÃt!O~þ Ê‹ÍTþ ÊÀþ,‹#Õå>24ÍZ ORG áÑzÍ%{Íü>HÍâÍÖÕÍTþ ‹Á*##~·Êí++~‘#~˜Ú *ëÍ–+Ú###~29þIÊgþEÊ õ#^#VÕ*ëÍQá"Dë¯24ñþSÊ”þHÊïþBÊïþWÊÄÍâÍS: INVALID CTL ENTRY Ãí͵¯24Ã[#Í{·Ê‹22~#þ,Ê8þ Ê8þ ÊíËÕ:/o: /g#>24ÍZDS |Í%}Íü>HÍâÍÖá"Ã[>24ÍZDW *ë*^#VÍÎ*##"Ã[ÍÖÃ[¯2:<24ÍZDB *+~“#~šÚdåÅ#Få#~+þAÚp#~þ+Êpþ-ÊpÂáF>24#~ÍâÂ.ÍZ EQU Áá~·õÄ%+ñ~ÂTÍ%ÃWÍü>HÍâÍÖ¯24##~Í #ͬÃðáÁáÃd>26Nþ Êí!O~#þ ‡ÃCongratulations, you found the patch area!*åë*"Ñ!O~þ ÊþSÊœþ=Êþ,ÊîÍå*"áþ Êþ Êýþ,‹#ÕÍë*:9þH~Ê þ Ú6 þ Ú þÚr þ Ú6 Í%>HÍâ::Æ2:Ã; ö0Íâ#ë*#"ë:D»ÂS :EºÊÝ *ëÍ–Òé::Æ2:þÒé>,ÍâÃþ>'Íâ::<2:~Íâ~þ'Ìâ#ë*#"ë:D»Â  :EºÊØ å*ëÍ–áÒØ ::<2:þ&ÒÐ þÚÅ +~#þ ÊØ ~þ ÚÐ þÚ >'ÍâÃE >'ÍâÍÖÃ[ÍSSYMTBL=*Í *Í ÍÖÍSë"Ñ*å"*Ñ"þ ‹*ͬåÍó Í áåÍ~Íü#}æÌ}æÌ}æÂ.Íàá~þ ÚTþÚV>.Íâ#}æÊhæÌÃIÍàÍÖ":•:œÒÃí#Í#ë"ëþ,Êâþ Êâþ ÊíË!P~þ.´ÍÍDÒ·*F÷*^#V#~·ÊíëÍ ëF#~Íâ#ÂÇÍÖͬ÷:7î27ÂëÍSNo ÍSaddresses will priPC =*Í ÍÖÍSOFFSET=*Í ÍÖ*|µÊG ÍSCOMNTS=*Í *Í ÍÖÍSCTLTBL=*Í ~#¦##<ÂX +++Í ÍÖÍp ÃíÍS Memory open to *+Í ÃÖ!O~þ ÊÅ Íë"*"ëþ ÊÅ þ ʵ þ,‹#Íþ ‹*"*ëͬ*~#"»ÂÉ ~ºÂÉ Íó +Í ÍÖ:/<_ÿÃ5:/_:/WÉnt as comments Ãí*Í ÍÖÃí!O~þ ÊÍþ ‹ë"Ãí!O~þ Ê‹Íþ ÊSþ,ÊSþ ‹Õ#Íþ ‹Á*##~·Êí+~¸+ÚÂw~¹Ú~ƒw#~Šw+##~#…oÒa$Ãa:5·Â/2\2h!O:Pþ Ê‹þ:³:OÖ@2\##]ÍÍ~þ*ÊÇÍÍÉ"Ç~þ Êê#þ.ÊêÂÍ~þ Èþ.#ÈÃß> ÂêÉ>2;¯2<ÃÍQ>24ÍZEND ¯24:5·Êí>ͲÍp¯25ÍS++ASM FILE CLOSED++ ÃíÍŒ:5·Â/"ÍÂe >2!.͇Ãn .Í‘ *Í„ "##6:!·Êã +͇Ãq1͇(ÍÂ ÍØ*:¼Ò5 åëÍ\Í·Âô á€:ºÂ« ÕÍS++TRUNCATED TO AVOID BDOS OVERLAY++ áÍ Íó Í ÍÖ>2<¯2;ï2<2;¯24:22 !O~þ Ê[þ,ÊOþ ÊOþ=ÊqÍë"ëþ Ê[þ ÊOþ,‹#Íë" ¯2 ͬ: ·Êo:=úíÃ}* :•: œÒí:;·ÊÇ*ë*:NþMž>A2Nê~ÍîÚÇ#ž~Íî#Òª+Íó ëÕ*ë>BÍ«Ñ>IÍ«*|µÊ*ëÍÚ##F>24Í�¯°Êþ#~þ\Â÷ÍÖÃáÍâÂéÍÖ€ÍÃí+Í Ãq1Í‹͉*Í„ "6ÿ#6ÿÃã ÍS++NO, THAT WOULD OVERLAY THE DISASSEMBLER BECAUSE OFFSET IS TOO SMALL: ÃÍØÍþÈþ ʇ þ ʇ þ ʇ ÍÀ s#r#å#Íþ ʺ þ ʺ w#ç ãpáÇ þ ÈþÊfþ:ÚÒ ÖÖ0ë))))…oëÍþÊfÃà ͌"ÍÂþ .͇>2!.  ÍÂr *ÍO^#V#~#G·Ê6 ÍV > Ͳ~Ͳ# > Ͳ> Ͳà >ͲÍp:!·Êí:eþDÊí+͇Ã/zÍìͲzÍðͲ{ÍìͲ{Íðò+ÍÊ/1ÍÊ%Í‹>25¯24ÍOÍS++WRITING .ASM ENABLED Use Lfrom,to (or QLfrom,to for quiet) to list to disk Use Z command or E coþ Âü#"6ÿ#6ÿápÃí*~#¦+<7È#z¾+Â){¾È##~Í #ÃÍÃ<*ͬ^#V#z£<ÊíëÍ ë>;ÍâF#~ÍâÂTÍÖ#Ã<~#¦<È+ÕT]##~Í #~#O 24*ëÍ–ÚšHå~þ+Ê™þ-Ê™# ÂdáÍ4>:Íâ:7·Ê“ÍŠÍŠÍ�*Í ÍÖÚá¯24ÍÍ*Í >24ÍŠáÑÉÍQ*ë*" å*#"á~G!P~·Êœ O#~¹ÂÔ#~2=#~þ.ÄâÂé*:=æþÚ40 ÃíÍåÕÍÐ^#V#~Õõ++ÍÚñáÑëÍ«á~þ Êíþ,‹#Íë"> 2Oà !P~þ Ê‹Íë">ëþ,‹#Íþ,‹#"Bë"@*B~õ#~þ,‹#ë*>ëñåͽáÍå*>">á~#þ,Êjþ ‹*@ë*>}“|šÒíͬÃgåÕõÍ–+Ú¸###ñѾáÈ2=Í–Ú :=ÍùÊZþK‹ÍÚÃG ë!ë~#¦+<Êõw#ÂêÃà+++ÉþIÈþWÈþþ Ò#þÚ #"_!å* ÉÃBÃEÃNÃWÃ`ÃlþÃ%ÃTÃZÃ`ÃtÃÖÍŠÍÃÖÍŠÍÃÖÍŠÍÙÃÖÍŠÍÍ…ÃoÍŠ* #" * ~þ Ú¢þ[Ò¢:=æþÚ¢þÒ¢~ÍÅ>'ÍâÍŠÍ�~þ Ú³Í%>HÍâÃÖÆ0ÍâÃÖÃÖÍŠ* ~ÍÙÍ…Í”ÕÍ–Òä:<·ÊôÑÕÍæÃôÍ4:7·ÊÍŠÍ�Ñz³>0Ê z·ÊBÈþSÈþEÈþHÉ:=þKÊ‹Íù‹Õå*~#¦##<Â###ë*|/g}/o+++Ú^!ýÿÁ+~{¹Â@z¸Â@`iÑs#r#:=wÉ##wÉÍS++CTL TBL FULL: INVOKING "/" TO COMPRESS IT++ Ã*~#¦+<7È#z¾+ØÂ¬{¾ÈØ###ÙÍ–û*ͬ^#V#z£<ÂËÃG ÕåÍ–Úä~Íâ#ÂÓ>:ÍâÍÖáÑÍÍëÍ >,Íâë~ÍâÍÖ#ûÍ%{Íü>HÍâÃÖÑÃÖ{þ Ú Í%ÃÆ0à ÍŠ:;·ÊË:=æàÊËÍ”ÚJÚO>IͽÃË>WÃD>BÃDÍ«Ã%Í«ÃÖÍŠ* ~æö0ÍâÃÖÍŠ* ~ÍÍ…~ÃH>,Ãâ> Ãâ>;Ãâ* #^#VÉÍZDB >2=Ãv* ~æ!>Í ~Íâ#~þ.ÄâÉõ>'Íâñþ'ÂâõÍâñÃâ* ~æþÂ~æÏþÁÊþþÅÊþ>SÍâ>PÃâÍZ*~#¦<Êí#~þIÊþWÊ#Ãë!ýÿ¾ëÂë#åÍÚáÃÍO*^#V#z£<ÊYÍV >,Ͳ~Ͳ> Ͳ> Ͳ#Ã5>ͲÍp:!·Êí1͇ÃÍØ*Íþʪþ,Êžþ:ÚŽÖÖ0ë))))…oëÍÃ}s#r#Íw#Ãw6ÿ#6ÿ:!·ÊG Ë ͉!O~þ;ÂÆ#~þ Ê9Í#þ Ê3þ Êßþ,‹åÍÚñÍdáå~þ Êí*s#r#Ñå#wPSWÉ* ~Ã* ~!NæÍ ~Ãâ…oÐ$Éþ Úüõ>0ÍâñÃü~Íâ#Â4ÉNZZ.NCC.POPEP.M.BCDEHLMAÿÎACI.øˆADC.ø€ADD.ÿÆADI.ø ANA.ÿæANI.ÇÄ(C...ÿÍ'CALLÿ/CMA.ÿ?CMC.ø¸CMP.ÿþCPI.ÿ'DAA.Ï DAD.ÇDCR.Ï DCX.ÿóDI..ÿûEI..ÿvHLT.ÿÛIN..ÇINR.ÏINX.ÇÂ(J...ÿÃ'JMP.ÿ:  GLDA.ï LDAXÿ*‡LHLDÏLXI.À@ MOV.ÇMVI.ÿNOP.ø°ORA.ÿöORI.ÿÓOUT.ÿéPCHLÏÁPOP.ÏÅPUSHÇÀ R...ÿRAL.ÿRAR.ÿÉRET.ÿRRC.ÿRLC.ÇÇ RST.ø˜SBB.ÿÞSBI.ÿ"‡SHLDÿùSPHLÿ2GSTA.ïSTAXÿ7STC.ø�SUB.ÿÖSUI.ÿëXCHGø¨XRA.ÿîXRI.ÿãXTHL!L6L#zÍß{Íß!LÍDÚsD Ãíå*H|þÂ$ÅÕ\Í·ÑÁ!€Â+~#"HáÉþÚIÍS++UNEXPECTED EOF Ãí>wÃ$å\Í\Í<Ê‹¯2|!€"HáÉ\ͷœ\Í<ÀÍS++CLOSE ERROR ÃíÍS++WRITE ERROR Ãíå*Hw,"HáÀÅÕå\ͷœ!€"HáÑÁÉ> Íâ> Ãâ>*ÅÕå_Õ:6·ÌÑ:5!4¦{IJ{þ Â#rÉåÕÅ*T]xÆ…o|Îg"##6++DM*F{½Â,z¼Ê3 Ã"ÁÑs#r#pÑ#wÂ;ÉÕå*ÑÕ##å~#·ÊŒ¸Úx‚OÍ¢ÊqÚŒá~#…oÒI$ÃIá++ÑÑ·ÉOÍ¢ÒeÃŒH͢ʌÒeá++"FáÑ7É*~#»Â¤~ºÊ³#~·7È#…oÒ™$Ù#~#G·À7É!OÍ~þ ÊÌþ,‹#~þ+Êæþ.‹ÕÍÑÍšÍùÃí! "”"–>�2™ÍxÊVÍ–Úô : ·Ê !5áÑÁÉÍàL>N Í!M^#6 !M#~þ ÊÖþ,ÊHþaÚ,þ{Ò,æ_wÃ,:Oþ;Â,ÃÖ¯2426ã~Íâ~þ Ìn#~·Â[#ãÉÅÕåͬáÑÁÉ*"##6> 2O*+6I#6ÿ#6ÿ*|µÈ"6ÿ#6ÿɾÀ# ¢ÉÅÕå Í·ÊêÍþÊÈÍÖÃíÍS ABORT Y/N Íæ_þYÊÍÖÃíáÑÁÉþ Èþ Èþ È·Èþ Øþ?ÉÕÍ7ÑÊôë!O~#þ+ +6.#ÍH“ÍH!O~Íâ#~þ Â&ÍÖûHT]þ+Èþ-È Â:·Éþ ÊQw#ÂHÉÍS++NO SYM WITHIN 129 BYTES Ãí!—~ö0 2O*+6I#6ÿ#6ÿ*|µÈ"6ÿ#6ÿɾÀ# ¢ÉÅÕå Í·ÊêÍþÊÈÍÖÃíÍS ABORT Y/N Íæ_þYÊÍÖÃíáÑÁÉþ Èþ Èþ È·Èþ Øþ?ÉÃ÷`i"##6É#å~#þ$Êþ+ÊDþ-ÊDþ0Ú<þ:ÚþAÚ<þ[ÚÊ‹+ëáÉ:·ÊÃ<*¯2*##åN#¯±Êœëbk ##~#·Êœ¹ÊŒÚ~ëÍ¢ÚªÓOëÍ¢ʪÚªÓëÍ¢Úªá^#ÃUáͬ:*·ÂNÃíáå>2*~ÆOÅ++åë!œÍÖáÆOÍÖœÁÍÖÓw# ÂÖÉõÍìw#ñÍðw#Éæþ ÚùÆÆ0ÉõÍì€/)/ ???ASMCOMC#~þ ÊbG!e~·Êí#þ Â7~¸Â7~Íâ~#þ ÂG~þ ÊG¸ÊGÍÖÃíÍS Use ^S to stop/start help, C/R to quit A symbol is always preceeded by a ".": .BDOS A hex number has no "H": 5C All numbers default to hex. Use ÍâñÍðÃâ|Íü}Íü> Ãâ~Í0ÈÕÍ9Áë ëÃþ+Èþ-Èþ Èþ,Èþ É~#þ+Ê9þ-ÊF+õÍTñÀz/W{/_É~þ#Ê´þ.ʸþ$ÊÐþ@ÊÐ~Í*Èþ0Ú‹þ:Ú‡þAÚ‹þGÒ‹ÖÖ0ë))))…oë#Ãl~Í*Èþ0Ú‹þ:Ò‹åbk)))Ö0…_|ÎWá#Õ>2ͯ2ÕÍDÚ‹^#VáÉë*ë#~Éå!"H¯2|\Íá<ÀÍS++FILE NOT FOUN"#" for decimal numbers: #99 Use "$" or "@" for curr P.C.: L$-20 Arithmetic may combine any of above, with "+" and "-": L.FOO-#20 bracketed operands ([,addr]) are optional carriage return means same as L Use =x to change it to another 1-lette  r command -H Delete help function (pick up about 2K bytes) -nn Back P.C. up nn =x Change C/R to mean "x" ? Show statistics . Sort symbol table / Slash redundant I/W from ctl ; Dump comments table ;addr,\comment\ Put in comment  O Show current offset Oaddr Set offset for disassembly Ploaddr,hiaddr Prolog: ORG loaddr, EQU's for all syms now betw. lo - hi Q any command Quiet mode (no console out) Rname.type Read .COM, .DOC, .CTL, OR .SYM file Set offset before re ;addr, Delete comment ;;addr,\comment\ Enter lower case comment A[addr][,addr] Attempt to find DB/DW/INSTR B[addr][,addr] Build dflt syms C Dump ctl table Caddr Dump ctl from addr Caddr,type Add ctl entry (B,W,S,E,H,I) Caddr,K Kill ctl eading a .COM Set "Uaddr" before reading a .DOC Rname.* Read name.SYM, name.CTL, name.DOC Sname.type Save .ASM, .DOC, .CTL, OR .SYM file When saving .ASM, use "Lfrom,to" to list to disk, then "Z" to close the file. Sname.* Save name.SYM,ntry C/ Del most recent ctl C-n[,addr] Back up most recent ctl by n optionally, Laddr CPloaddr,hiaddr,type,length[,type,length...] Enter a pattern of control entries D[addr][,addr] Dump memory D=nn Change default dump size DS[.symbol]  name.CTL, name.DOC Uaddr Use addr for base of comments table X Purge all symbols and control Z Close .ASM file ÃíTL, OR .SYM file When saving .ASM, use "Lfrom,to" to list to disk, then "Z" to close the file. Sname.* Save name.SYM,Dump symbol table Eaddr,.symbol Enter/replace symbol into table Eaddr,+ Enter sym as nearest lower + offset Faddr[,startaddr] Find 1st occurrence of addr F, Find next occurrence H Help with commands See also "-H" Hx Help with command "x" RESOURCE A disassembler for 8080 programs by Ward Christensen CP/M U.G. 1/80 Suggestions? Call me eve's at (312) 849-6279 ---------------- RESOURCE commands are inconsistent at best. - RESOURCE is a kludge based on years of disassembl Iaddr,offset Increment every symbol from addr on, by "offset" K.symbol Kill symbol entry L[addr][,addr] List (Disassemble) L=nn Change default # lines in list M[addr][,addr] Make a DB then list (Disassemble) N No address comments toggle er experience and hacking, and was never "planned" - just coded sitting at a tube, and modified over 2 years before being contributed to the CP/M UG. For example, to kill a symbol: k.label but to kill a control value: caddr,k and to kill a commen  t: ;addr, but RESOURCE does the job like no other I have seen. ---------------- N-O-T-E: Pardon the editorial, but I feel hardware without good software is useless to 99% of us. Most good software has to be paid for. I strongly support the legitim long, and controls the format of the re-sourced list, i.e. is it DB, DS, DW, instructions, etc. At 1E00 is the start of the symbol table. It has no defined length as such. If it is not used, it occupies only 2 bytes. If you want to re-source someate purchase of licensed software. I do not regularly use any programs which I have not purchased. (Yes, I do occasionally "try" one, but then buy it if I plan on using it). I have been asked by software businesses to NOT distribute RESOURCE - becathing which is in memory, such as a PROM, a program previously loaded in high memory, "CP/M itself", or whatever, you can just do so. However, typically you want to disassemble a program which runs at 100H, which is were RESOURCE runs. Bob Van Valzuse of it's ability to produce good .asm source quickly. But, there are so many disassemblers out, why not a good, conversational one? Please use it in the spirit in which it was contributed: to enlarge your understanding of the micro- computer worah would have solved that by making resource relocatable and moving itself up under BDOS. I wasn't that industrious. Instead, RESOURCE uses the concept of an "invisible" OFFSET. After all, what do you care where it is as long as it LOOKS like it's ld around you, and to allow you to customize programs which you legitimately own, for your own use. "Semper non rippus offus" ---- NOTE: any command taking a hex address (Dnnnn, etc) may take a value in the form .label but arithmetic may not be pat 100h? So, you set an offset. O2F00 sets it to 2F00 Hex. Reading a .COM file (RFOO.COM) causes it to come into 3000 on. If you say D100 or L100 it dumps or lists what LOOKS like your program. Internally, RESOURCE is adding the offset to the D anderformed. (i.e. d.start is ok, but d.start+8 not) ---------------- Overall structure of RESOURCE: It is a .COM file, which runs at 100H. It goes thru 1700 or so, then the stack. At 1800 is a 512 entry table for control commands. Each is 3 bytes L addresses. What should you set the offset to? Well, that depends upon how many symbols you will use. O1F00 will load the program at 2000, thus allowing only 1E00-1FFF for symbols, i.e. 512 bytes or about 50-60 labels. If you didn't leave enough   space, then used B to build a default symbol table, the table could run into and clobber your .com file! (easy recovery, however: just change the offset to being higher, and read in the .COM file again) Each entry takes 3 bytes + the symbol length, loading at 100. Thus, we could set our comments table up after the .COM program - say at 5000: U5000 The ? command shows the memory utilization for control, symbol, and comments entries. (no, I never put in anything to keep track of the .COM - youand if you like 7 byte labels like I do, that means 10 bytes/label. An offset of 2F00 should be adequate. If you want to put comments into the disassembled program, you will have to designate an area to Use for the comments. The U command (e.g. U40'll just have to do that yourself). If you ever want to dump real memory, you'll have to reset the offset to 0: O0 but then set it back. If you are not sure what it is, typing O will tell the current offset. Hoo, boy! Hope this kludge of docume00) specifies what area is to be used. Before issuing the O (offset) command, do: L5 7 which will show the JMP to BDOS, which is the highest memory you may use. (Note if you have, for example, an empty 4K memory board in high memory, you can Use Tntation is enough to get you going - hmmm, better give you some of the gotcha's I've discovered... ---- WATCH FOR ---- * Symbols overflowing into the .COM. (Use ? command to see how full symbol table is) * Control entries overflowing into .SHAT for comments). Let's take an example: You have an 8K file, FOO.COM which you want to disassemble. It will have about 300 labels. 300 x 10 is 3000, or call it 4K (what's a K unless your tight). The symbol table starts at 1E00. 4K more is 2E00. YM (altho I can't believe anyone will have a program with more than 512 control entries!!!) * Comments overflowing into BDOS (ug!!) * Using an offset which is not in free memory and overlaying BDOS or whatever. * The B(uild) command gobbling Let's load the .COM at 2E00, so since it normally starts at 100H, the offset is 2D00. O2D00 is the command. We then RFOO.COM to read it in. It says 4E00 2100 which means it came into actual memory to 4E00, but 2100 if we are talking with respect to  up too much when building a DB: "B" will take a DB 'GOBBELDY GOOK' followed by LXI H,FOO and take the LXI as a '!' (21H) so you'll have to manually stick a new "I" control entry in at the address of the LXI. You might also delete the incorrect   "I" entry which RESOURCE stuck in (typically at the second byte of the LXI) * Trying to dump real memory without setting the offset back to 0. (then forgetting to set it back to its proper value) * Forgetting how big the .COM file you are disd reassembles properly, it is not "as correct" as the technique used in the previous item. * Having the "B" command overlay your "E" control entry. What? Well, "B"uild is pretty dumb. If he finds 8 DB type characters in a row, he fires off a Dassembling was. * Using RESOURCE to rip off software (yes, I know, you heard that before, but only 3 in 100 needed to be told, and 2 in 100 needs to be told again, and 1 in 100 doesn't give a rat's fuzzy behind anyway!!) * Forgetting to takeB from then on until he runs out of those characters. Suppose your program was 200 long (ended at 3FF), and you had zeroed (aha! Nice DB candidates) memory there (there meaning at your offset address + whatever). Then you QB100,400 and viola! checkpoints when disassembling large files. You may even want to rotate the names under which things are saved: STEMP1.SYM STEMP1.CTL STEMP1.DOC * Missing a label: Suppose you have a control entry for a DW, resulting in: DFLT: ;17! RESOURCE overlaid your "E" control with a "B". ---------------- RESOURCE is relatively complete. (well, actually, the phrase "rampant featureitis" has been "mentioned"). ...But there's always another day, and another K... SO... Here2C DW 100H but somewhere in the program, the following exists: LDA 172DH Even if you did a B and have a label L172D, it won't show up since it's in the middle of a DW. Instead, do this: K.l172d kill the old label e172d,.dflt+1 's my "wish list" ..it might save you telling me YOU think such-and-such would be nice... * Targets of LHLD, SHLD should automatically be flagged as type DW in the control table. Ditto LDA and STA as DB or as second half of DW. Ditto targetsput in the new label as a displacement off the beginning. * improperly disassembling DW's (see previous item). You might be tempted to make DFLT a DB so that DFLT: ;172C DB 0 L172D: ;172D DB 1 Note that while this disassembles an of LXI as DB (?). * E5C,.FCB followed by E6C,.FCB+ should automatically calculate the appropriate displacement, and put it in the symbol table. * The comments facility should be enhanced to allow total SUBSTITUTION of entire line(s) of   the code, i.e. at address such-and-such, replace the next 3 bytes with the following arbitrary line. This would help those "how do I explain what was being done" cases such as: LXI H,BUFFER AND 0FF00H * Add the ability to, in one instruction,  are built. (see 'L' command for operand formats) ---------------- Control table usage: - c dump ctl tbl cnnnn dump from starting cnnnn,x define format from nnnn to next entry. values of x: B = DB (attempts ASCII printable, rename a default (LXXXX) label to a meaningful name. ---------------- RESOURCE types an "*" prompt when it is loaded. You may then enter any of the following commands. Each command is a single letter followed by operands. Commas are shown as 0DH, 0AH, 0) W = DW (attempts label) S = DW to next ctl entry I = instructions K = kill this ctl entry E = end of disassembly NOTE every control entry causes a "control break" (NO, RESOURCE was NOT written in RPG) which means a the delimiter, but a space will also work. ---------------- ---------------- ; Put comments into the program. (must execute 'u' command first, to assign area for comments to be placed) ;addr,comment enter a comment ;addr lists existing new line will be started. Thus if you have a string in memory which disassembles as: DB 'Invalid operand',0DH DB 0AH You might want to change it putting the 0DH,0AH together on the second line - just enter a "B" control entry for the addrecomment ; lists entire comments table ;addr, deletes existing comment note that '\' is treated as a new line, i.e. \test\ will be formatted: ; ;TEST ; ---------------- Attempt to find DB's while listing the program. - This command ss of the 0DH. The same technique could be used to make DB 'TYPESAVEDIR ERA REN ' appear as DB 'TYPE' DB 'SAVE' DB 'DIR ' DB 'ERA ' DB 'REN ' ---------------- dump: - dxxxx Dumps 80H from xxxx on daaaa,bbbb Dumps from aaaaworks just like 'L', but attempts to find DB's of 8 chars or longer. (see 'L' command for operand formats) ---------------- Build default sym tbl (LXXXX) labels for each - 2 byte operand encountered. Note 'B' is identical to 'L' except labels thru bbbb d,bbbb Continues, thru bbbb d Continues, 80H more NOTE 80H is the default dump length. If you have a larger display, you can change the default via: d=nn nn is the HEX new default. For example, a 24 line tube could display   100H: d=100 or.. d=100,200 Defaults to 100, dumps 200-2ff ---------------- enter symbol: - ennnn,.symbol symbol may be of any length, and contain any char A-Z or 0-9, or "+" or "-". This allows: E5D,.FCB+1. Note the "+" is not fter enabling the .ASM file save via 'SFILENAME.ASM' command l lists 10 lines from prev pc lssss,eeee lists from ssss to eeee l,eeee lists from current pc to eeee lssss lists 10 lines at ssss Note that if you have a control 'e' entry, th checked, i.e. E5D,.FCB+2 would be wrong (assuming FCB is at 5C) but would be allowed to be entered. Note if you enter two symbols for the same address, whichever one is first alphabetically will show up on the disassembled listing. If en the list will stop when that address is found. This allows you to 'lstart,ffff'. The 10 line default may be changed via: L=nn where nn is a HEX line count, e.g. L=14 set to 20 lines/screen You can change the default and list, e.g. you have a label which has the wrong address, you need not explicitly kill the old one before entering the new. A label which is spelled exactly the same as an existing one will replace the existing one even if the addresses are different. -- L=9,100 Dflt to 9 lines, list at 100. NOTE when using L to list the .ASM program to disk, you should either list the entire program at once using: Lssss,eeee or, you can list small pieces at a time. As long as you list again without speci-------------- Find occurrence of address or label. Note this function - runs until interrupted (press any key). fnnnn,ssss find address nnnn in memory. Start the search at ssss. Runs forever. Press any key to stop. f continue previous fifying a starting address, (L or L,nnnn) then the output file will continue uninterrupted. You may do dump commands, and others, without affecting what is being written to disk. ---------------- offset for disassembly - o print current offset nd command fnnnn find nnnn starting at address you last stopped at in the f command ---------------- kill symbol from table - k.symbol ---------------- list (disassemble). This command is used to list the - file, or to list it to disk a onnnn establish new offset (note the offset is always added to any address specified in an a, b, d, or l command. to dump real memory, the offset must be reset to 0 (O0) before the dump.) ---------------- prolog generation - this routine   generates an - ORG instruction, and equates for any label outside of a given low-hi address pair. (the start and end addresses of your program). e.g. if disassembling from 100 to 3ff, it will generate 'fcb equ 5ch' if FCB is in the symbol table.le - unnnn such as ud000 if you had an open board at 0d000h ---------------- purge sym tbl and CTL tbl x - ---------------- close .asm file (note that a preferred way to close the .asm file is to have specified a control entry for the In typical use, you would 'sfilename.asm' then use the P command to write the prolog, then the L command to write the program itself. Pstart addr,end addr quiet command: any command which is preceeded by a q - will be done 'quietly'. For ex end address (e.g. c1ff,e)) z - -------------------------------------------- -------------------------------------------- Here is a sample of the RESOURCE usage. Given: a COM file (lets say test.com) which runs at 100 (as any good COM file shouample, to save a .asm program, you could just do: ql100,3ff or ql100,ffff if you have set the 'e' control in the control table. Another use is to build a default symbol table by taking a pass thru the program: QB100,xxxx ---------------- ld), and goes thru 2FF. lines preceeded with ---> are typed by you. ---> RESOURCE ---> o2200 set the offset to 2200, which means the program will read into 2200 + 100 = 2300. ---> rtest.com reads the com file into memory. system says: 2500 read .com, .ctl, .sym, or .doc file - rfilename.com reads in at offset+100h rfilename.ctl loads the ctl table rfilename.sym loads the sym file rfilename.doc loads the comments table (note 'u' command must have been issued) ---------------- s0300 which is the actual hi load addr, (2500) and the original hi load addr (300) REMEMBER this address (300) because you might want to put a "E" (end of assembly) control entry there. <<<>>> that all 'L' (disassembly list) and 'D' (ave .asm, .ctl, .sym, or .doc file - sfilename.asm use 'l' command to write, z to end sfilename.CTL saves the CTL table stablename.sym saves the sym file sfilename.doc saves the comments table ---------------- use area of memory for comments tabdump) commands work with the offset added. Thus, you should learn to forget that the disassembler is in memory, and think of it as if your program were actually at 100. D100 will dump your program. also note: if the program being "RESOURCEd  " will have a fairly large symbol table, then you will have to set the offset higher: o2f00 or some such. (the ? command will show symbol table usage: if your symbol table is nearing the .com file, then just set a new offset (higher) and re-load s put in the control table by the a command, but then immediately put in the right address, such as via cnnnn,i if you wanted to scan the program for ascii db's yourself, use the 'c' (control) command to set the beginning and end of ascii areas. Fthe .com) if you want to dump r-e-a-l memory, you would have to reset the offset to 0: o0 (but don't forget to reset it to 1f00 before continuing with your program.) If you are disassembling something which is in memory at it's correct addressor example, a program which starts out: 0100 jmp start 0103 db 'copyright .....' 0117 start ..... would show up in the dump as: 0100 c3170144 4f50xxxx xxxxxxxx xxxxxxxx *...copyr ight....* 0110 xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx *xxxxx (such as looking at ccp) then don't set the offset. It defaults to 0 when dis is first loaded. ---> l100 list your program - lists "about" 10 lines. ---> d100 do a dump of your program. NOTE that typically here are the steps to disassembling xxx ........* thus you would want to instruct the disassembler to switch to db mode at 103, and back to instruction mode at 117, thus: c103,b c117,i Continue doing this, bracketing every ascii db which is in the middle of instructions, by a ba program which has just been read into memory: Use the dump command to find the ASCII DB areas. Note that the 'a' command may be used to automatically find the db's, but you must then check them to insure that they don't extend too far. All print control instruction and an i control instruction. Note that multiple db's in a row need not have separate cnnnn,b instructions, but that these do cause a 'line break', i.e. if you have a table of ascii commands, for example: 02e5 db 'load' 02e9 dable characters, 0dh, 0ah, and 00h are considered candidates for ascii db's. At least 8 characters in a row must be found to make sure that long sequences of mov instructions won't be taken as db's. Use the cnnnn,k command to kill erronious entrieb 'save' the disassembler would disassemble these as: 02e4 db 'loadsave' you could put in an additional control entry: c2e9,b, which would cause the disassembler to generate: 02e4 db 'load' 02e8 db 'save' which is much more readable and real  istic. Note that before generating each byte of a db, a symbol table lookup is done to determine if there is a label at that location, and if so, a new line is started. Thus if 'loadlit' and 'savelit' were in the symbol table, as the labels on thelist your program to determine how it looks. when you recognize a routine by it's function, insert a label. For example, if you saw that location 7ef was a character out routine (type) then enter a label into the symbol table: E7EF,.TYPE NOTE tha 'load' and 'save' above, no separate 'b' control instruction would be required as the label would cause the break. <<<>>> that at this time the automatic label checking is n-o-t done for ds instructions. Make sure that each ds instrucion reft all symbols start with a '.', so as to be dis- tinguished from hex data. NOTE that if you want the disassembler to make default labels for you, use b (for build labels) instead of l (for list program). The b commands causes lnnnn default labels toerences only up to the next label. This means that multiple ds's in a row must each be explicitly entered into the control table. Presence of a label is not sufficient. ---- steps, continued: After building the control entries with cnnnn,b and be inserted in the symbol table for every 2 byte operand encountered (LXI, SHLD, JMP, etc). It will undoubtedly make some you don't want, such as L0000. You will have to: K.L0000 kill label L0000 from the table. When you encounter data refere cnnnn,i put in a control entry cnnnn,e which defines the address of the end of your program. The l command will then automatically stop there, and in addition, if you are in 'save xxx.asm' mode, the output .asm file will be closed. If you do mot dence instructions, try to determine what type of area the instruction points to. Typically,, LXI instructions may point to a work area which should be defined as a DS, or to an ASCII string, in which case we will have already made it a 'b' control instfine a control 'e' entry, then you will have to use the break facility to stop the l command (don't use control-c as that will re-boot cp/m). If you were writing an .asm file, you would have to user the z command to close the file. Next, you would ruction. Operands of LHLD and SHLD instructions should be made DW instructions. For example if you encounter LHLD 0534H, then issue a control instruction: C534,W NOTE that whatever mode you are last in will remain in effect. Therefore if 534,w   is the last entry in the control table, all data from there on will be taken to be DW's. Suppose that you determine that address 7cf is a 128 byte buffer for disk I/O. You want it to disassemble to: DKBUF ;07CF DS 80H You do this as follow to save a .asm file out to disk, do the following: Make sure that there is a control entry defining the end of the program (such as c200,e) or else you will have to specify the ending address and manually type a z command to close the file. ss: C7CF,S to start the DS C84F,B to define it's end, and E7CF,.DKBUF to put the symbol in the table. Continue, iteratively using the 'l' command and the 'c' and 'e' commands until you have the listing in a nice format. You will then probablfilename.asm A message will indicate that the file is opened. Any subsequent a, b, or l command will have whatever is listed written to disk. Encountering a 'e' control, or typing a z command will then close the .asm file. The listing may be intey want to save the control symbol, and comments tables. Or, you could have been saving them at checkpoint times (so if you make a major mistake you could go back to a previous one). To save a control file: sfilename.CTL (any filename, may includrrupted, and continued. Since the l command types only 10 lines, use laddr,ffff to list thru the end of the assembly. If this is the 'final' save of the .asm file, you will probably want to put an 'org' at the beginning of the output file, as well e a: or b:) To save a symbol file: sfilename.sym To save a comments file: sfilename.doc (not ".com" of course) NOTE that the filetypes must be used as shown, but that any legal filename (or disk:filename such as b:xxxx.CTL) may be used. as generate equ instructions for any references outside of the program. For example, a typical cp/m program will have references to: bdos at 5 fcb at 5ch tbuff at 80h the 'p' (for prologue) command generates the org, then scans the symbol tabl You could now control-c to return to CP/M, and come back later to resume your disassembly: RESOURCE o2200 rtemp.com rtemp.sym rtemp.ctl uxxxx (such as u4000) rtemp.doc This will take you back exactly where you left off. If you wante and generates equates: BDOS EQU 05H FCB EQU 05CH (etc.) If you have a "e" control entry in your file, you can list as follows: laddr,ffff - the listing will continue until the "e" control entry is found additional commands: if you ent  ered a label in the symbol table but now want to get rid of it: k.symbol note to rename a symbol, such as when you had a system- assigned lnnnn label but now want to make it meaningful: k.l0334 e334,.type you could even: e.l0334,.type kH from xxxx on Daaaa,bbbb Dumps from aaaa thru bbbb D,bbbb Dump thru bbbb D Dump 80H more D=nn nn= Hex dump size default. Ds Dumps the symbol table. Ds.symbol Sym dump starting at .symbol Ennnn,.symbol Enter symbol into table Fnnnn,ssss .l0334 but that takes more typing. here are some more commands: ? prints statistics on symbol and control table usage, etc. c prints the entire control table cnnnn prints the control table starting at address nnnn ds dumps t Find address nnnn starting at ssss F Continue previous find command Fnnnn Find nnnn K.symbol Kill symbol from symbol table L Lists 10 lines from prev pc Lssss,eeee Lists from ssss to eeee L,eeee Lists from current pc to eeee Lssss Listshe symbol table. Interrupt it by typing any key. ds.symbol starts dumping at the specified symbol, or the nearest symbol. thus "ds.f" starts the dump at the first label starting with the letter 'f'. ....have fun, and let me know of any 10 lines at ssss L=nn nn is hex list default # of lines O Print current offset Onnnn Establish new offset Pstart addr,end addr Generate program prolog Q Before any command suppresses console output: QB100,200 Rfilename.COM Reads in at o problems or suggested improvements ------------------------ RESOURCE "Quick" command summary Any address may be replaced by .symbol i.e. D.START ;addr,comment Enter a comment ;addr Lists existing comment ; Lists entire comments tabffset+100h Rfilename.CTL Loads the ctl table Rfilename.SYM Loads the sym file Rfilename.DOC Loads the comments table (note Sfilename.ASM Save .ASM file. Write w/L, Z to end Sfilename.CTL Saves the CTL table Sfilename.SYM Saves the sym file Sfle ;addr, Deletes existing comment A(see "L" for operands) Attempt to find DB's B(see "L" for operands) Build default sym tbl (Lxxxx) C Dump ctl tbl Cnnnn Dump ctl starting at nnnn Cnnnn,x Define format from nnnn (B,E,I,S,W) Dxxxx Dumps 80ilename.DOS Saves the comments table Unnnn Use nnnn for comments table X Purge all symbols and control Z Write eof to .ASM file ( ? Prints statistics (sym, ctl, comments)   å$(MID$(S$,I,1)): NEXT I 10260 N=INSTR(FILE$,".") 10270 IF N THEN FLNAME$=LEFT$(FILE$,N-1) ELSE FLNAME$=FILE$ 10280 IF N=0 THEN FILE$=FILE$+".COM" 10290 FILEERR=FALSE 10300 OPEN "I",#1,FILE$ 10310 IF FILEERR THEN 10230 10320 CLOSE#1 10330 OPEN "R",#å1,FILE$,RECLN 10340 FIELD#1,128 AS INREC$ 10350 LINE INPUT "Address of start of file? ",S$ 10360 IF S$="" THEN ASTRT!=&H100 10370 IF S$<>"" THEN GOSUB 14450: ASTRT!=T!: IF BAD THEN 10350 10380 LINE INPUT "Start address? ",S$ 10390 IF S$="" THEN T!=AS10000 ' Z-80 Dissassembler 10010 ' Based on disassembler on page 42 10020 ' of Dr. Dobbs Journal number 26 10030 ' 10040 DEFINT A-Z 10050 ' 10060 ' Convert letter to upper case 10070 DEF FNUPPER$(CC$)=CHR$(ASC(CC$)+(CC$>="a" AND CC$<="z")*32) 10080TRT! 10400 IF S$<>"" THEN GOSUB 14450: IF BAD THEN 10380 10410 IF T!"Y" THEN 10710 10620 FILE$=FLNAME$+".C  TL" 10630 FILEERR=FALSE 10640 OPEN "I",#3,FILE$ 10650 IF NOT FILEERR THEN 10690 10660 INPUT "Continue without control file? ",C$ 10670 IF C$="" THEN 10210 10680 IF FNUPPER$(C$)<>"Y" THEN 10210 ELSE 10740 10690 DL!=-1: DH!=-1 10700 ' 10710 PRINT: P 11070 IF ENDFILE AND NOT NB THEN 11300 11080 IF NOT BADOP THEN 11140 11090 FOR NB=NB TO 1 STEP -1 11100 NBB=NBB+1: BB(NBB)=B(NB): PC!=PC!-1 11110 NEXT NB 11120 BADOP=FALSE: GOSUB 11410 11130 IF BADOP THEN 11300 11140 TB=32: GOSUB 14590: DLINE$=DRINT 10720 ' 10730 ' initialize input file 10740 N=INT((PC!-ASTRT!)/RECLN): RECPT=PC!-ASTRT!-RECLN*N 10750 GET#1,N+1 10760 IF EOF(1) THEN 11380 10770 ENDFILE=FALSE: NBB=0 10780 ' 10790 ' put org statement 10800 DLINE$=SPACE$(7)+"ORG"+SPACE$(5) 10LINE$+";" 11150 X!=HOLDPC!: GOSUB 12630: DLINE$=DLINE$+" " 11160 FOR I=1 TO NB 11170 X!=B(I) 11180 DLINE$=DLINE$+" " 11190 GOSUB 12480 11200 NEXT I 11210 TB=52: GOSUB 14590 11220 FOR I=1 TO NB 11230 C$=".": IF B(I)>=32 AND B(I)<127 THEN C$810 X!=PC! 10820 GOSUB 12600 10830 GOSUB 11340 10840 ' 10850 ' Main loop 10860 NB=0: BADOP=FALSE 10870 WHILE PC!>DH! 10880 IF EOF(3) THEN DL!=1E+10: DH!=1E+10: GOTO 11010 10890 LINE INPUT#3,DLINE$ 10900 C$=DLINE$: GOSUB 14820 10910 I=INST=CHR$(B(I)) 11240 IF B(I)>=160 AND B(I)<255 THEN C$=CHR$(B(I)) 11250 DLINE$=DLINE$+C$ 11260 NEXT I 11270 GOSUB 11340 11280 IF PC!=DL! THEN 11120 11040 DLINE$=SPACE$(7) 11050 GOSUB 12310: OP=X! 11060 GOSUB 114901440 ' 11450 ' Separate parts of op code 11460 L=OP\BIT(6): M=OP\BIT(3) AND 7: K=OP AND 7: RETURN 11470 ' 11480 ' Disassemble one op 11490 GOSUB 11460: ON L GOTO 11890,11950,11970 11500 ON K GOTO 11580,11660,11740,11800,11800,11840,11880 11510 IF M=  1 THEN S$="EX AF,AF'" 11520 IF M=0 THEN S$="NOP" 11530 IF M=1 OR M=0 THEN 12690 11540 S$=JR$(M): GOSUB 12690: GOSUB 12770 11550 GOSUB 12310: IF X!>127 THEN X!=X!-256 11560 X!=PC!+X!: GOSUB 12600: RETURN 11570 ' 11580 K=M\BIT(1) 11590 IF OP AND BIT(0 11960 GOSUB 12770: GOTO 11930 11970 ON K GOTO 12000,12010,12080,12020,12180,12260,12280 11980 S$="RET ": GOSUB 12690 11990 S$=CC$(M): GOTO 12690 12000 S$=C1$(M): GOTO 12690 12010 S$="JP ": GOTO 12030 12020 S$="CALL ": 12030 GOSUB 12690 12040 S$=3) THEN 11640 11600 S$="LD ": GOSUB 12690: 11610 S$=RP$(K): GOSUB 12690 11620 S$=",": GOSUB 12690 11630 GOSUB 12540: RETURN 11640 S$="ADD HL,": GOSUB 12690 11650 S$=RP$(K): GOTO 12690 11660 S$=O2$(M): GOSUB 12690 11670 IF M<4 THEN RETURN 11680 GOSCC$(M): GOSUB 12690 12050 S$=",": GOSUB 12690 12060 GOSUB 12540 12070 RETURN 12080 IF M=1 THEN 12790 12090 S$=C3$(M): IF S$="???" THEN BADOP=TRUE: RETURN 12100 GOSUB 12690 12110 IF M=0 THEN 12140 12120 IF M=2 OR M=3 THEN 12150 12130 RETURN 12140 UB 12770: GOSUB 12510: GOSUB 12570 11690 IF M=4 THEN S$=",HL": GOSUB 12690 11700 IF M=6 THEN S$=",A": GOSUB 12690 11710 RETURN 11720 GOSUB 12540: RETURN 11730 ' 11740 K=M\BIT(1) 11750 M=M AND BIT(0) 11760 IF M=0 THEN S$="INC " 11770 IF M=1 THEN S$GOSUB 12770:GOSUB 12540: RETURN 12150 GOSUB 12770: GOSUB 12310: GOSUB 12420 12160 IF M=2 THEN S$=",A": GOSUB 12690 12170 RETURN 12180 IF M=5 THEN 12900 12190 IF M=3 THEN I$="IX" 12200 IF M=7 THEN I$="IY" 12210 IF M=3 OR M=7 THEN 13320 12220 S$=C5$(="DEC " 11780 GOSUB 12690 11790 S$=RP$(K): GOTO 12690 11800 IF K=4 THEN S$="INC " 11810 IF K=5 THEN S$="DEC " 11820 GOSUB 12690 11830 S$=REG$(M): GOTO 12690 11840 S$="LD ": GOSUB 12690 11850 S$=REG$(M): GOSUB 12690 11860 S$=",": GOSUB 12690 11870M): IF S$="???" THEN BADOP=TRUE: RETURN 12230 GOSUB 12690 12240 IF M<>1 THEN RETURN 12250 GOSUB 12770: GOSUB 12540: RETURN 12260 S$=AI$(M): GOSUB 12690: GOSUB 12770 12270 GOSUB 12490: RETURN 12280 S$="RST ": GOSUB 12690 12290 X!=8*M: GOSUB 12450 12 GOSUB 12490: RETURN 11880 S$=O7$(M): GOTO 12690 11890 IF M=6 AND K=6 THEN 11940 11900 S$="LD ": GOSUB 12690 11910 S$=REG$(M): GOSUB 12690 11920 S$=",": GOSUB 12690 11930 S$=REG$(K): GOTO 12690 11940 S$="HLT": GOTO 12690 11950 S$=AI$(M): GOSUB 1269300 RETURN 12310 IF NBB THEN X!=BB(NBB): NBB=NBB-1: PC!=PC!+1: RETURN 12320 IF ENDFILE THEN BADOP=TRUE: X!=0: RETURN 12330 RECPT=RECPT+1: IF RECPT<=RECLN THEN 12370 12340 GET#1 12350 IF EOF(1) THEN X!=0: ENDFILE=TRUE: RETURN 12360 RECPT=1 12370 X!=A  SC(MID$(INREC$,RECPT,1)): PC!=PC!+1 12380 NB=NB+1: B(NB)=X! 12390 RETURN 12400 ' 12410 ' Insert (1 byte hex) 12420 DLINE$=DLINE$+"(": GOSUB 12450: DLINE$=DLINE$+")": RETURN 12430 ' 12440 ' Insert a 1 byte hex constant in assembly 12450 DLINE$=DLINE! 12800 L=OP\BIT(6) 12810 M=(OP\BIT(3)) AND 7 12820 K=OP AND 7 12830 IF L=0 THEN 12870 12840 S$=CB$(L): GOSUB 12690: GOSUB 12770 12850 S$=CHR$(48+M): GOSUB 12690: S$=",": GOSUB 12690 12860 S$=REG$(K): GOTO 12690 12870 S$=RT$(M): IF S$="???" THEN BA$+"0": GOSUB 12480: DLINE$=DLINE$+"H": RETURN 12460 ' 12470 ' Insert a one byte hex number 12480 DLINE$=DLINE$+RIGHT$("0"+HEX$(X!),2): RETURN 12490 GOSUB 12310: GOSUB 12450: RETURN 12500 ' 12510 GOSUB 12310: XL=X! 12520 GOSUB 12310: XH=X! 12530 X!=DOP=TRUE: RETURN 12880 GOSUB 12690 12890 S$=REG$(K): GOTO 12690 12900 GOSUB 12310: OP=X! 12910 L=OP\BIT(6): M=(OP\BIT(3)) AND 7: K=OP AND 7 12920 ON L GOTO 12940,13300,12930 12930 BADOP=TRUE: RETURN 12940 ON K GOTO 12970,12990,13040,13150,13180,1323XL+256*XH: RETURN 12540 GOSUB 12510: GOSUB 12600: RETURN 12550 ' 12560 ' Insert (hex) 12570 DLINE$=DLINE$+"(": GOSUB 12600: DLINE$=DLINE$+")": RETURN 12580 ' 12590 ' Insert a 2 byte hex constant in assembly 12600 DLINE$=DLINE$+"0": GOSUB 12630: DLIN0,13280 12950 S$="IN": GOSUB 12690 12960 S$=REG$(M): GOSUB 12690: S$=",(C)": GOTO 12690 12970 S$="OUT (C),": GOSUB 12690 12980 S$=REG$(M): GOTO 12690 12990 K=M\BIT(1): M=M AND BIT(0) 13000 IF M=1 THEN S$="ADC HL," 13010 IF M=0 THEN S$="SBC HL," 130E$=DLINE$+"H": RETURN 12610 ' 12620 ' Insert a 2 byte hex number 12630 DLINE$=DLINE$+RIGHT$("000"+HEX$(X!),4): RETURN 12640 ' 12650 ' Insert (alpha) 12660 DLINE$=DLINE$+"(": GOSUB 12690: DLINE$=DLINE$+")": RETURN 12670 ' 12680 ' Add code to line 120 GOSUB 12690 13030 S$=RP$(K): GOTO 12690 13040 K=M\BIT(1): M=M AND BIT(0) 13050 S$="LD ": GOSUB 12690 13060 IF M=1 THEN 13110 13070 GOSUB 12510: GOSUB 12570 13080 S$=",": GOSUB 12690 13090 S$=RP$(K): GOSUB 12690 13100 RETURN 13110 S$=RP$(K): GOS2690 FOR I=1 TO LEN(S$) 12700 C$=MID$(S$,I,1) 12710 IF C$=" " THEN GOSUB 12770: GOTO 12730 12720 DLINE$=DLINE$+C$ 12730 NEXT I 12740 RETURN 12750 ' 12760 ' Start operand field 12770 TB=16: GOSUB 14590: RETURN 12780 ' 12790 GOSUB 12310: OP=XUB 12690 13120 S$=",": GOSUB 12690 13130 GOSUB 12510: GOSUB 12570 13140 RETURN 13150 IF M=0 THEN 13170 13160 BADOP=TRUE: RETURN 13170 S$="NEG": GOTO 12690 13180 IF M<=1 THEN 13200 13190 GOTO 13160 13200 IF M=1 THEN S$="RETI" 13210 IF M=0 THEN S$=  "RETN" 13220 GOTO 12690 13230 IF M=1 OR M>3 THEN BADOP=TRUE: RETURN 13240 IF M=0 THEN S$="IM0" 13250 IF M=2 THEN S$="IM1" 13260 IF M=3 THEN S$="IM2" 13270 GOTO 12690 13280 S$=ED$(M): IF S$="???" THEN BADOP=TRUE: RETURN 13290 GOTO 12690 13300 S$=CP90 S$="(": GOSUB 12690: S$=I$: GOSUB 12690 13600 S$="+": GOSUB 12690: GOSUB 12310: GOSUB 12450 13610 S$=")": GOTO 12690 13620 IF M<>6 THEN 13380 13630 S$="LD ": GOSUB 13580: S$=",": GOSUB 12690 13640 GOSUB 12310: GOSUB 12450: RETURN 13650 S$="LD " 1$(K)+CP$(M): IF S$="OUTIR" THEN S$="OTIR 13310 GOTO 12690 13320 GOSUB 12310: OP=X! 13330 IF OP=203 THEN 13870 13340 L=OP\BIT(6): M=(OP\BIT(3)) AND 7 13350 K=OP AND 7 13360 ON L GOTO 13650,13710,13740 13370 ON K GOTO 13390,13480,13530,13560,13560,1363660 IF K=6 THEN 13690 13670 GOSUB 13580: S$=",": GOSUB 12690 13680 S$=REG$(K): GOTO 12690 13690 GOSUB 12690: S$=REG$(M): GOSUB 12690: S$="," 13700 GOSUB 13580:RETURN 13710 IF K<>6 THEN 13730 13720 S$=AI$(M): GOSUB 13580: RETURN 13730 BADOP=TRUE: RE20 13380 S$="==": GOTO 12690 13390 IF M=4 THEN 13460 13400 K=M\BIT(1): M=M AND BIT(0) 13410 S$="ADD ": GOSUB 12690: S$=I$: GOSUB 12690 13420 S$=",": GOSUB 12690 13430 IF K=2 THEN 13450 13440 S$=RP$(K): GOTO 12690 13450 S$=I$: GOTO 12690 13460 S$="TURN 13740 IF M<>4 THEN 13820 13750 ON K GOTO 13770,13760,13780,13760,13800,13760,13760 13760 BADOP=TRUE: RETURN 13770 S$="POP ": GOTO 13810 13780 S$="EX (SP),": GOTO 13810 13790 S$="LD SP,": GOTO 13810 13800 S$="PUSH " 13810 GOSUB 12690: S$=I$: GOLD ": GOSUB 12690: S$=I$: GOSUB 12690 13470 S$=",": GOSUB 12690: GOSUB 12510: GOSUB 12600: RETURN 13480 IF M=4 THEN 13510 13490 S$="LD ": GOSUB 12690: S$=I$: GOSUB 12690 13500 S$=",": GOSUB 12690: GOSUB 12510: GOSUB 12570: RETURN 13510 S$="LD ": GOSUBTO 12690 13820 IF M<>5 THEN 13860 13830 IF K<>1 THEN 13760 13840 S$="JP ": S$="(" GOSUB 12690: 13850 S$=D$: GOSUB 12690: S$=")": GOSUB 12690: RETURN 13860 IF M=7 AND K=1 THEN 13790 13870 GOSUB 12310: D=X! 13880 GOSUB 12310: OP=X! 13890 GOSUB 11460  12690: GOSUB 12510: GOSUB 12570: S$=",": GOSUB 12690 13520 S$=I$: GOTO 12690 13530 IF M=4 THEN S$="INC " 13540 IF M=5 THEN S$="DEC " 13550 GOSUB 12690: S$=I$: GOTO 12690 13560 IF K=4 THEN S$="INC " 13570 IF K=5 THEN S$="DEC " 13580 GOSUB 12690 135 13900 IF L>0 THEN 13960 13910 IF K<>6 THEN 13760 13920 S$=RT$(M): IF S$="???" THEN BADOP=TRUE: RETURN 13930 GOSUB 12760: GOSUB 12690: GOSUB 12770 13940 S$="("+I$+"+": GOSUB 12690 13950 X!=D: GOSUB 12450: S$=")": GOSUB 12690: RETURN 13960 S$=CB$(L):   GOSUB 12690 13970 S$=CHR$(48+M): GOSUB 12690 13980 S$=",": GOSUB 12690: GOTO 13940 13990 ' 14000 ' initialize tables 14010 FOR I=0 TO 7: READ BIT(I): NEXT I 14020 DATA 1,2,4,8,16,32,64,128 14030 FOR I=0 TO 7: READ REG$(I): NEXT I 14040 DATA B,C,D,ERA,???,SRL 14290 FOR I=0 TO 7: READ ED$(I): NEXT I 14300 DATA "LD I,A","LD R,A" 14310 DATA "LD A,I","LD A,R",RRD,RLD,???,??? 14320 FOR I=0 TO 7: READ CP$(I): NEXT I 14330 DATA LD,CP,IN,OUT,I,D,IR,DR 14340 TRUE=-1: FALSE=0: RETURN 14350 TS=2: TD=3: K,H,L,(HL),A 14050 FOR I=0 TO 3: READ RP$(I): NEXT I 14060 DATA BC,DE,HL,SP 14070 FOR I=0 TO 7: READ AI$(I): NEXT I 14080 DATA ADD,"ADC A,",SUB,"SBC A,",AND,XOR,OR,CP 14090 FOR I=2 TO 7: READ JR$(I): NEXT I 14100 DATA DJNZ,JR,"JR NZ,","JR Z,","JR NC,"B=2: SB=2 14360 BS$=CHR$(8) 14370 HT$=CHR$(9) 14380 ES$=CHR$(27) 14390 CS$=CHR$(26)+ES$+"S"+CHR$(0)+CHR$(32) 14400 EL$=ES$+"R" 14410 CR$=CHR$(13) 14420 RETURN 14430 ' 14440 ' Convert input hex 14450 IF LEN(S$)=0 OR LEN(S$)>4 THEN BAD = -1: RETURN,"JR C," 14110 FOR I=0 TO 7: READ CC$(I): NEXT I 14120 DATA NZ,Z,NC,C,PO,PE,P,M 14130 FOR I=0 TO 7: READ C1$(I): NEXT I 14140 DATA POP BC,RET,POP DE,EXX,POP HL,JP (HL),POP AF,"LD SP,HL" 14150 FOR I=0 TO 7: READ C3$(I): NEXT I 14160 DATA JP,???,OUT,"I 14460 T!=0 14470 FOR II=1 TO LEN(S$) 14480 CC$=MID$(S$,II,1) 14490 IF CC$>="0" AND CC$<="9" THEN D=ASC(CC$)-ASC("0"): GOTO 14530 14500 IF CC$>="A" AND CC$<="F" THEN D=10+ASC(CC$)-ASC("A"): GOTO 14530 14510 IF CC$>="a" AND CC$<="f" THEN D=10+N A,","EX (SP),HL","EX DE,HL",DI,EI 14170 FOR I=0 TO 7: READ C5$(I): NEXT I 14180 DATA PUSH BC,CALL,PUSH DE,???,PUSH HL,???,PUSH AF,??? 14190 FOR I=0 TO 7: READ O7$(I): NEXT I 14200 DATA RLCA,RRCA,RLA,RRA,DAA,CPL,SCF,CCF 14210 FOR I=0 TO 7: READ O2$(IASC(CC$)-ASC("a"): GOTO 14530 14520 BAD=-1: RETURN 14530 T!=D+16*T! 14540 NEXT II 14550 BAD=0 14560 RETURN 14570 ' 14580 ' Tab line to field 14590 IF LEN(DLINE$)80 THEN 14740 14730 IF BCNT THEN IF TS(POSN) T  HEN DLINE$=DLINE$+HT$: BCNT=0 14740 C$=MID$(S$,II,1) 14750 IF C$=" " THEN BCNT=BCNT+1: GOTO 14780 14760 DLINE$=DLINE$+SPACE$(BCNT)+C$ 14770 BCNT=0 14780 NEXT II 14790 RETURN 14800 ' 14810 ' Remove leading blanks 14820 FOR II=1 TO LEN(C$) å14830 IF MID$(C$,II,1)<>" " THEN C$=RIGHT$(C$,LEN(C$)-II+1): RETURN 14840 NEXT II 14850 C$="" 14860 RETURN 14870 ' 14880 ' Error on ctl file 14890 PRINT "Invalid ctl record:" 14900 PRINT DLINE$ 14910 PRINT 14920 RETURN 14930 ' 14940 ' error ha.po 0 .he DISASSEM - Z80 disassembler page # .op Description. DISASSEÍ  ió  á  Z8° disassembleò writteî  iî  BASIC®  Microsofô � versioî 5.° ió required® Thå inpuô tï DISASSEÍ ió á memorù imagå � file¬  usuallù á COÍ file® Thåndling 14950 IF ERR<>53 THEN 14990 14960 FILEERR=TRUE 14970 PRINT "File not found" 14980 RESUME NEXT 14990 IF ERR<>64 THEN 15030 15000 FILEERR=TRUE 15010 PRINT "Invalid file name" 15020 RESUME NEXT 15030 ON ERROR GOTO 0  outpuô maù bå directeä tï á file¬ � thå console¬  oò thå printer®  DISASSEÍ generateó standarä Ziloç � mnemonics. Using DISASSEM. On start up, DISASSEM will answer the following questions: File name? Enteò  thå  filå thaô ió tï bå  disåassembled®  Thå  defaulô �      extensioî ió COM® Enteò returî tï terminate. Address of start of file? Enteò  thå  addresó  oæ thå firsô bytå  iî  thå  file®  Thå � defaulô  valuå oæ 0100è ió useä iæ returî ió  entered®  Thå �      dåefault is almost always used. Start address? Enteò thå firsô addresó tï bå disassembled®  Thå defaulô ió �      thå starô oæ thå file. End address? Enteò  thå lasô addresó tï bå disassembled®  Thå defaulô ió �      the end o  f the file. Output file( *=LST, **=CON)? Enteò thå desireä outpuô filå name® Thå defaulô ió thå samå �      namå  aó  thå filå beinç disassembleä witè aî  extensioî  oæ �      ASM®  Iæ thå defaulô ió used¬  thå filå wilì bå oî thå samå �   of the listing. Š Notes. Filå nameó maù havå drivå specifiers®  Iæ nï drivå ió specified¬ � the cpm specified default drive is used. Thå  outpuô filå ió quitå largå foò anù buô verù smalì  programs® � Thå sizå depends¬ oæ course¬ oî jusô whaô in   drivå  aó thå input®  Enteò "*¢ tï puô thå listinç  oî  thå �      printeò oò "**¢ tï puô iô oî thå console. DEFB Control file (Y or N)? Enteò  "y¢  iæ  therå ió á controì  filå  tï  forcå  certaiî �      locationó tï bå disassembleä aó dstructionó arå iî thå � program, but 20-30k/program k is typical. Thå   disassembleò  ió  verù  slo÷  wheî  ruî  usinç  thå  MBASIà � interpretter®  Iô haó noô beeî testeä oî thå compiler¬ buô therå � should be little trouble getting it to compile propefâ pseudï ops®  Thió filå �      musô  bå  oî thå samå drivå aó thå inpuô anä musô  havå  thå �      samå  namå  witè  aî extensioî oæ  CTL®  Thå  controì  filå �      consistó  oæ  ascié recordó eacè containinç twï  hexadecimaì �      numberó (1-´ digierly. All input may be in either upper or lower case. End of document. MBASIà � interpretter®  Iô haó noô beeî testeä oî thå compiler¬ buô therå � should be little trouble getting it to compile propts)®  Thå numberó musô bå separateä bù onå �      oò  morå  spaces®   Alì  addresseó  betweeî  theså  numberó �      (inclusive) will be disassembled as defb pseudo ops. Output. Thå disassembleä listinç containó tabó iæ thå outpuô ió tï  disk® �å Otherwise¬  nï tabó arå generated®  Eacè linå containó á commenô � containinç thå address¬  anä thå valueó oæ thå byteó disassembleä � iî  botè  heø anä character®  Controì characteró arå printeä  aó � ".". An org statement is generated at the start å  åÊQþ ÊwÃç!X~þ.Â#Ír͘Ò&*KÃ&!"^#V#~·ÊwëÍÊëF#~Í#Â6Í Í¿Ã&*ÍÊÍ Ãw!W~þ ÊHÍ×þ Âçë"Ãw:F·Â+ 2\2h!W:Xþ Êçþ:“:WÖ@2\##]͡͡É~þ ʾ#þ.ʾ¡~þ Èþ.#Èó> ¾É>2O¯2PÃâ>2PÃâ¯2P2O¯2E:32425!W~þ Ê*þ,Êþ Êåþ=Ê(Í×ë"#ëþ Ê*þ Êþ,Âç#Í×ë"%¯25Í¿:5·Ê>:4=úwÃL*%:#•:$œÒw:O·Ê†*#ë*~ÍþÚ†#Â]~Íþ#Òi+Í|ëÕ*#ë>BÍž Ñ>IÍž *)|µÊÀ*#ë͇ ÚÀ##F>2EÍú¯°Ê½#~þ\¶Í ÛÍ¨Í *#ëÍQ +ÚÎ###~þIÊþEʉõ#^#VÕ*#ëÍ´á"Hë¯2EñþSÊHþBÊ©þWÊ{ÍÍBRESOURCE by Ward Christensen (AS OF 01/08/80) $Copyright 1980Ñ Í!9"ý1ýÍw Memory open to *+ÍÊÍ Í ÍŒ¯2E2G1ýÍE!V~þ Êwþ;Ê2 þAÊÇþBÊÓþCÊ{ þDÊ,þEÊþFÊþKÊ3þLÊÛþOÊTþPÊ+þQÊëþRÊÎþSÊ, þUÊwþXÊøþZʉþ?Ê“¯2E2GÍw? ÃwÍwY/N pÍw: INVALID CTL ENTRY Ãwͯ2EÃ*#Í×{·Êç23~#þ,Êþ Êþ ÊwÃçÕ:#/o:$/g#>2EÍ~.BLKB |Í�}ͼ>HÍÍ á"#Ã*>2EÍ~.WORD *#ë*^#VÍn*###"#Ã*Í Ã*¯2J<2EÍ~.BYTE *#ë*~þ Úæþ ÚÓþÚ"Í�>HÍ:JÆ2JÃëö0Í#ë*##"#ë:H»Â:Iºurge all symbols & CTL?ÍE:VþYÊtþNÊwÃø!W~þ ÊçÍ×þ ÊAþ,Âç#Õå>2EÍ~ .LOC áÑzÍ�{ͼ>HÍÍ ÕÍ×þ ÂçÁ!"##~·Êw++~‘#~˜ÚŒ+~“#~šÚÙåÅ#Få#~+þAÚå#~þ+Êåþ-Êå™áF>2E#~ͰÍ~ = Áá~·Ä�+~ͼ>HÍÍ ¯2E##~Í‹#Í¿ÃráÁáÃÙ>2GV!W~#þ ÂöÃÊ�*#ëÍêÒ£:JÆ2JþÒ£>,Íû>'Í:J<2J~Í~þ'Ì#ë*##"#ë:H»ÂP:IºÊˆå*#ëÍêáÒˆ:J<2Jþ#Ò€þÚu+~#þ ʈ~þ Ú€þÚ/>'ÍÃõ>'ÍÍ Ã*ÍwSYMTBL=!"ÍÊ*!ÍÊÍ ÍwPC =*#ÍÊÍ ÍwOFFSET=*ÍÊÍ *)|µÊ÷ÍwCOMNTS=*)ÍÊ*+ÍÊÍ ÍwCTLTBL„Congratulations, you found the patch area!*åë*1"Ñ!W~þ Ê‹þSÊ þ=Êîþ,Ê]Í×å*1"áþ Êvþ Êlþ,Âç#ÕÍ×ë"Ñ*å"*Ñ"þ Âç*Í¿åÍ|ÍÊáåÍÒ~ͼ#}æÌÒ}æÌÒ}æÂ�Íá~þ ÚÃþÚÅ>.Í#}æÊ׿ÌÒøÍÍ ":•:œÒŽÃw#Í×#ë"1ëþ,ÊQþ =!ÍÊ~#¦##<Â+++ÍÊÍ Ãw!W~þ ÊSÍ×ë"/*"-ëþ ÊSþ ÊCþ,Âç#Í×þ Âç*"-*/ëÍ¿*-~#"-»ÂW~ºÂWåÕÍ|+ÍÊÑáÍÒÃW:/_: /WÉÍ´>2EÍ~.END ¯2E:F·Êw>Íæͧ¯2FÍw++ASM FILE CLOSED++ ÃwÍl:F·Â+ !e?͵Âö!"ÍÉ "!##6Ó!e9͵  ÂG Í*|þÚz åëÍ\Í·Â/ á€Ã áÍÊÍ|ÍÊÍ €ÍÃw!e<͵ÂX Ãñ !eB͵ÂçÍû *)ÍÉ "+6ÿ#6ÿÓÍw++NO, THAT WOULD OVERLAY THE DISASSEMBLER BECAUSE OFFSET IS TOO SMALL: ÃHÍÍ>þÈþ ÊÌ þ ÊÌ þ ÊÌ Í s#r#å#Í>þ Êÿ þ Êÿ w#Ãì ãÀÍw++COMMAND IGNORED++ ++Issue 'UNNNN' to tell RESOURCE to use address NNNN as the start of the comments table Ãw!W~þ Êçþ.ÊçÍ×ë|þÚ�")"+6ÿ#6ÿÃwÍw++NO!! <2300H! ÃwÕå>2E*#ëÍêÚöHå~þ+Êõþ-Êõ# ÂÇáÍŸ>:ÍÍõÍõÍú*#ÍÊÍ Ãöá¯2EÍÒÍÒpáÃÌ þ ÈþÊb þ:Ú ÖÖ0ë))))…oëÍ>þÊb à Íl:F·Â+ !e?͵š !"͆^#V#~#G·Ês Í~ > Íæ~Íæ#Â] > Íæ> ÍæÃJ >ÍæͧÃwzͬÍæzͰÍæ{ͬÍæ{ͰÃæ!e<͵ʼ !eB͵Ê !e6͵Âç>2F¯2E͆Íw++WRITING .ASM ENABLED USE Z COMMAND OR E CO*#ÍÊ>2EÍõáÑÉÍ´¯2*#ë*"'ë#"#ëF!º~·Êÿ O#~¹Â0#~2Q#~þÂS:·ÃUþ.ÄÂE*#:Qæ?þÚxþ Òx#þÚu#"#_!–å*'ÉÍŒÃ-å*##"#áÉÃÛÃÞÃçÃðÃùÃÃZúÃÀÃÆÃÌÃàÃÃöÃÃÃ<ÃTÃaÃrÃ~Ã�Üà ÍõÍvà ÍõÍlà ÍõÍ?à ÍõÍlÍNTROL TO CLOSE FILE++ ÃwÍû *+##6*)ÃG Íw++NO FILE ACCESSES PERMITTED UNTIL .ASM CLOSED ÃwÍw++UNEXPECTED EOF Ãw!W~þ Ês Í×þ Êm þ Ê– þ,Âç#~Ͱ ÃwåÕõÍQ +Ú« ###ñѾáÈ2QÍQ Úû :QþIÊM þWÊM þBÊM þSÊM þEÊM þKÂçë!ë~#¦+<Êõ w#Âê Ãà +++Ã÷:QþKðÃÍõ*'#:·Ê#"'*'~þ ÚAþ[ÒA:QþÚAþÒA~Í+>'ÍÍõÍú~þ ÚRÍ�>HÍà Æ0Íà Íõ*'~Í?Íð*'#^#VÕÍêÒ„:P·Ê�ÑÕÍ:Ã�ÍŸÍõÍúÑz³>0Ê£z·Ê©Í�{ͼ>HÍà {þ ÚµÍ�áÆ0ãÍõÃgÍúÍà Íõ*'~æö0Íà Íõ*'~ÍlÍð~ÃáM|Ãg#"'F!ÆÊçþEÊ þBÊ þWÊ þIÊ þSÂçÕå!~#¦##<Â! ###ë!ýÿÁ+~{¹Â3 z¸Â3 `iÑs#r#:QwÉ##wÉ!~#¦+<7È#z¾+ØÂg {¾ÈØ###ÃT ÍQ Ãv !Í¿^#V#z£<† Ã÷ÕåÍêÚŸ ~Í#ÂŽ >:ÍÍ áÑÍÒÍÒëÍÊ>,Íë~ÍÍ #Ãv ͆!^#V#z£<Êæ Í~ >,Íæ~Íæ> Íæ> Íæ#à>ÍæͧÃwÍ!Í>þÊ>XÃ>Y2#~þËÂ(͌͌#~2#F"'!ËÆõ"'ÍŒ#~2ñG!]ÆÍõ#~ÍŒ*#_ºòOëÃn~æåÍáÃ<Íõ~æö0ÍÃêÍõ:Íà Íõ:ÍÍðÃgÍõÍlÍðÍvà Íõ~Ãá:·>MÊ#~å:g·ò¿>-Í|/<þdÚÍÞdg>1Í|.Ö úØ,ÃÏÆ g>0…Í|Æ0áÍ!ß>,Ã> Ã>;ÃÍ* þ,Ê þ:Ú ÖÖ0ë))))…oëÍ>Ãý s#r#Í>w#Ã÷ 6ÿ#6ÿÃ÷Íû !W~þ Ê« Í×#þ Ê¥ þ ÊQ þ,Âçå͇ Úc ÍÖ áå~þ Êw*+s#r#Ñå#wþ Ân #"+6ÿ#6ÿápÃw*)~#¦+<7È#z¾+› {¾È##~Í‹#Ê ͇ î *)Í¿^#V#z£<ÊwëÍÊë>;ÍF#~ÍÂÆ Í #î ~#¦<È+ÕT]##~Í‹#~#O 2QÃ*'~æ!©Í‹~Í#~þ.ÄÉõ>'Íñþ'ÂõÍñÃ*'~æþÂz~æÏþÁÊdþÅÊd>SÍ>PÃÍ~PSWÉ*'~Ãz*'~!¹æÍ‹~þMʣÅoÐ$Éþ Ú¼õ>0Íñü~Í#ŸÉNZZ.NCC.POPEP.M.BCDEHLMAÿË .....ÿí .....ÿÝ.....ÿý.....ÿÎACI..øˆADC..ø€ADD..ÿÆADI.  .ø ANA..ÿæANI..ÇÄC....ÿÍCALL.ÿ/CMA..ÿ?CMC..ø¸CMP..ÿþCPI..ÿDAA..Ï DAD..ÇDCR..Ï DCX..ÿóDI...ÿDJNZ.ÿûEI...ÿ@EXAF.ÿÙ@EXX..ÿvHLT..ÿÛIN...ÇINR..ÏINX..ÇÂJ....ÿÃJMP..ÿJMPR.ç JR...ÿ:LDA..ï LDAX.ÿ*LHLD.ÏLXI..À@ MOV..ÇMVI..ÿNOP.Òí$Ãí#~#G·À7É!WÍ×~þ Ê þ,Âç#~þ.ÂçÕÍrÑÍMÃwÉ!W~þ.ÂçÍr͘ÚçDM##~…o|Îg#ë*!{½Â_z¼ÊfÃU`i"!##6Ãw#å~#þ+Êvþ-Êvþ0Ú—þ:ÚvþAÚ—þ[ÚvÊç+ëáÉõͬw#ñͰw#Éæþ Ú¹ÆÆ0ÉõͬÍñͰÃ|ͼ}ͼ> Ã~þ.Êÿ~þ0Øþ:ÚñþAØþGÐÖÖ0ë))))…oë#ÃàÍ.ø°ORA..ÿöORI..ÿÓOUT..ÿéPCHL.ÏÁPOP..ÏÅPUSH.ÇÀ R....ÿRAL..ÿRAR..ÿÉRET..ÿRRC..ÿRLC..ÇÇ RST..ø˜SBB..ÿÞSBI..ÿ"SHLD.ÿùSPHL.ÿ2STA..ïSTAX.ÿ7STC..ø�SUB..ÿÖSUI..ÿëXCHG.ø¨XRA..ÿîXRI..ÿãXTHL.À@BIT..À€RES..ÀÀSET..øRLCR.øRRCR.øRALrÕ͘Úç^#Vá~Éå!"M¯2|\Íá<ÀÍw++FILE NOT FOUND Ãwå*M|þÂ[ÅÕ\Í·ÑÁ!€Âb~#"MáÉþÚ€Íw++UNEXPECTED EOF Ãw>wÃ[å\Í\Í<Êç¯2|!€"MáÉ\Í·ÂÓ\Í<ÀÍw++CLOSE ERROR ÃwÍw++WRITE ERROR å*Mw,"MáÀÅÕå\Í·ÂÓR.øRARR.ø SLAR.ø(SRAR.ø8SRLR.ÿCSBCD.ÿSSDED.ÿsSSPD.ÿKLBCD.ÿ[LDED.ÿOSTAR.ÿ_LDAR.ÿGSTAI.ÿWLDAI.ÿ{LSPD.ÿDNEG..ÿERETN.ÿMRETI.ÿFIM0..ÿVIM1..ÿ^IM2..ÿ LDI..ÿ°LDIR.ÿ¨LDD..ÿ¸LDDR.ÿ¡CCI..ÿ±CCIR.ÿ©CCD..ÿ¹CCDR.ÿ¢INI..ÿ²INIR.ÿªIND..ÿºIN!€"MáÑÁÉ> Í> Ã>*ÅÕå_Õ:G·ÌÑ:F!E¦{Äæ{þ ÂA:5·ÊA!45áÑÁÉÍT>N Í!U^#6 !U#~þ Ê þaÚ`þ{Ò`æ_wÃ`¯2E2Gã~Í#~·Â#ãɯ2"!""!> 2W!ÿÿ">I2ÿ*)|µÈ"+6ÿ#6ÿɾÀ# µÉÅÕå Í·ÊúÍþÊÛÍ ÃwÍw ABORT Y/N Íæ_þYÊÃwáÑÁÉþ DR.ÿ£OUTI.ÿ³OUTIRÿ«OUTD.ÿ»OUTDRÏBDSBC.ÏJDADC.ÿgRRD..ÿoRLD..Ç@INP..ÇAOUTP.ÏBDSBC.ÏJDADC.ÿ)DAD.Ï DAD.ÿáPOP..ÿåPUSH.ÿ"SID.ÿ*LID.ÿ#INX..ÿ+DCX..ÇF MOV..ÿ†ADD..ÿŽADC..ÿ–SUB..ÿžSBB..ÿ¦ANA..ÿ®XRA..ÿ¶ORA..ÿ¾CMP..øpMOV..ÿ4INR..ÿ5DÈþ È·Èþ Øþ?ÉÑ Í*ý()€"ÿ ASMCOMCTLSYMDOCÍ#~·Â#ãɯ2"!""!> 2W!ÿÿ">I2ÿ*)|µÈ"+6ÿ#6ÿɾÀ# µÉÅÕå Í·ÊúÍþÊÛÍ ÃwÍw ABORT Y/N Íæ_þYÊÃwáÑÁÉþ CR..ÿ6MVI..ÿ!LXI..ÿùSPI.ÿãXTI.ÿéPCI.NNMMDDYY?????!T6L#zÍŸ{ÍŸ!T͘ÚWs#rÉåÕÅ*!T]xÆ…o|Îg"!##6++DM*K{½Â€z¼Ê‡ ÃvÁÑs#r#pÑ#wÂ�ÉÕå!"ÑÕ##å~#·Êà¸ÚÌÂÖO͵ÊÅÚàá~#…oÒ�$Ã�á++ÑÑ·ÉO͵Ò¹ÃàH͵ÊàÒ¹á++"KáÑ7É!"~#»Âø~ºÊ#~·7È#…o lxi h,512 ; set 1/2k counter lp dad h ; multiply * 2=1024 dcr a ; less block size code count jnz lp ; loop till = 0 call bndec2 ; print siz  e in K ; dpbend call inlprt ; finish message db ' bytes per block',0dh,0ah,'$' lhld tbtr ; total bits to read push h ; save it in the stack lda drive ; aga ; decrement bit count push psw ; save the bit pattern mov a,d ; check to see if... ora e ; ...DE = 0 jz bmapend ; if so, we're finished pop psw in to be safe mov e,a ; into E for bdos mvi c,sdsk ; reselect disk call bdos ; let bdos do it mvi c,gtaloc ; get the allocation address call bdos  ; restore bit pattern dcr c ; decrement line count jz bmap ; new line if zero dcr b ; decrment bit count jz bmap1 ; new byte if zero  ; ...from bdos pop d ; tbtr from stack dcx h ; back allocation up one ; ; ;We now have the total number of bits to read in DE, and ; the address to start reading them at in HL for the ; proper jmp bmap2 ; finish this byte ; bmapend pop psw ; not neccessary, but keeps the call crlf ; ...stack straight..send cr,lf call crlf lda drive ;get drive used  drive. So now let's print the bitmap. ; ; bmap mvi c,48 ; 1's and 0's per line call crlf ; followed by a cr,lf bmap1 inx h ; kick the pointer mov a,m ; get the byte  adi 'A' call conout call inlprt db ': R/W, Space: $' lda blksiz ; get block size code lhld free ; get nb of free blocks lp1 dcr a jz don  REZ80.COM is a Z-80 version of Ward Christensen's RESOURCE.COM. It uses TDL mnemonics. The operation of the program is the same as the original RESOURCE. END  ; multiplied by size of block dad h ; times 2 jmp lp1 ; don call bndec2 ; print size of free space call inlprt db 'k',0dh,0ah,'$' jmp finis ; res  tore things and GET OUT ; end  ; print size of free space call inlprt db 'k',0dh,0ah,'$' jmp finis ; res LD ZRST RST oOUT OUT &IN IN �XTHL EX “PCHL JP £XCHG EX «!Ž ~þ (Sþ (Oþ;È~þ:(þ (þ (þ;( þ (Í÷# ä#>:Í÷yþ0> Í÷Í–~þ;Èþ È"  Í}Í–" —<ÉÍ–åÍtþ:á(¨ÏÅ ÍÙÁÈ ~§ ð<É ÍÙÈ ~§ ï<É~§ÈÍ÷#÷Íñ* Ã{ ~þ ( þ (Í÷å#ñ> Ã÷Íñ* ~þMÂ{#å!!ÍßáÃ{(HL)å N#FáÅÉÍñ* å~þB(!þD("þH(#þP (#~þS "#~þW á##å!u !x!{!~Íßá#åáÃ{AFBCDEHL!ˆ͵* Ã{RET !Ÿ͵>,Í÷* Ã{CALL !ªçJP Íñ: Í÷: þ ÈÃ÷Íñ* ~þB(þD(Ã{!ê!ñÍß* #ìA,(BC)A,(DE)Íñ* ~þ1¥ ÍêÍŒÍøÍQÊÓ!Ü ͺÊè!¯ ͺÊ ! ͺÊ1!QÍÌÊ�!jÍÌÊ“!ƒÍÌʪ!œ ͺÊ&! ~þ ( þ (Í÷#ñ> Í÷* ~þ (þ (þ (Iþ;(!þ'  (Í÷#àåÍ–áþ (-þ;(ÍfÎ äÍ–:d ¸0ÖæøÆ ¸úÏ> Í÷é> ÷Íß>2d ÉRLC RLCA RRC RRCA RAL RLA RAR RB(þD(Ã{!!"Íß* #ì(BC),A(DE),AÍñ!5ÍßÃ4HL,Íñ* ~þM å!!Íßá#~Í÷#ÃÍ÷òÍñ!iÍß* Ã{SP,HLÍñ!~Íß* Ã{8*Íñ!�Íß* Ã{A,Íñ!›(SP),HLÍñ!!Íñ!ºÍß* Ã{DE,HLÍñ>(Í÷Í:å!ÖÍßáÃ{),HLÍñ!ïÍßÍ:>)Í÷Ã{HL,(Íñ>(Í÷Í:åRA CMA CPL STC SCF CMC CCF HLT HALT JMP JP ADI ADD ACI ADC SUI SUB SBI SBC ANI AND XRI XOR ORI OR CPI CP DS DEFS DB DEFB DW DEFW SET DEFL INR INC DCR DEC MVI LD ADD ADD SUB SUB ADC ADC SBB SBC ANA AND X! ÍßáÃ{),AÍñ!"ÍßÍ:>)Í÷Ã{A,(ÍñÍ:å!7ÍßáÃ{,A* ~þ;(þ (#ô+~þ (úþ (ö#ë* z¼ {½È~Í÷#ò~þ (þ ÀÍ÷#òÅÍ¡ÁÈ#÷HÅÕåÍíáÑÁÅÍ¡ÁÈí â¡ó~þ (þ À#õÕë!­Í»ë~ÑÉ,:+-/* ); ÍÅÀH —ÉF#N#~§( ÍÙÈyÍèò<ÉåÕž #øÁÑáÉ…oÐ#É> bk í°ÉåÕÅõ* wþRA XOR ORA OR CMP CP LXI LD INX INC DCX DEC POP POP PUSH PUSH RNZRZ RNCRC RPORPERP RM CNZCZ CNCCC CPOCPECP CM JNZJZ JNCJC JPOJPEJP JM LDAX LD ÇSTAX LD øDAD ADD )SHLD LD ÀLHLD LD ÛSTA LD ôLDA LD MOV LD 9SPHL :d =æøÆ :d <2d #: =  Íá Í9! >€" 2 ñÁÑáÉͧÈFÃvOUTPUT FILE WRITE ERROR : þ€(>Í÷òá ÃÍ|çÈÕ_ÍÑð!Ž Pí[á :ã þ€ Ùä ÍÀ Í=Ê¢ Ùä —2ã íSá å!ã 4áwþ (þ (þ 8¿# »+·#6 #6íSá xÖP(£ÉûÍ|>2d Í ÃT 8080   TO Z80 TRANSLATER V.2.1 !]Á í°À Íþÿ(>€2ã É= ÃvNO SOURCE FILE PRESENT!]â í°á Íá Íþÿ � Ãvá Í>€2 ! " ÉNO DIRECTORY SPACE Í`« Ãv*** END OF JOB *** ÍS8ÃäQASM§D§B§A§ÐÓÈÄÂÁÍ (Q(?> Z80hSÁåx€€!,UÍòRëáåÕãTÍ:RÍ÷R§(Í›SDMá^#V#~§ yÉyxÉáÉÍ¢T—2MQ7ÍAX2SQÉÍ´T§ÍAX2KQÉÍáRÍ SÍ:RÍ÷R§xÈÅ!�XÍ#SÒäQxþ(ÁÆÀ2XÍ~XÜÒäQ>2MQÁÏËÉCNV H ZSEÍ›SÍeRÍáR~Í€RÍÞRåÍ:RÍ÷R§(!þ.(Fþ-(#þ'('ÍëS8}áwåá#ÍþR§(Êåßá#ÃÍ Sá½Í Sá+µá§(þ'(w#óþ'(õÍáÉÍ S!þXÿXÃXÀ`å $ÃÑååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååTRANSLAT is a Z80 program which translates 8080 ASM files to Zilog Z80 mnemonics. Command: TRANSLAT MYFILE (where MYFILE is MYFILE.ASM) The program will create a new file named the same as the source file, but with the filetype of .Z80 No code åoptimization takes place - the translation is literal.  MYFILE.ASM) The program will create a new file named the same as the source file, but with the filetype of .Z80 No code   12A IF NOT, GO AROUND 0112 MVI E,A PUT LF IN E 0114 MVI C,2 TELL CPM TO MOVE LF TO KEYBOARD 0116 CALL 5 DO IT 0119 MVI E,D MOVE CR TO REG E 011B MVI C,5 TELL CPM TO PRINT CR TO PRINTER 011D CALL å5 DO IT 0120 MVI E,A MOVE LF TO REG E 0122 MVI C,5 TELL CPM TO MOVE LF TO PRINTER 0124 CALL 5 DO IT 0127 JMP 103 GET NEXT CHARACTER 012A MOV E,A MOVE INPUT CHAR TO REG E 012B MVI C,5 TEL1Å:=�WÕ!~# x±ÂÑÁåb{æÂ,ã~#ão}oÒ5„ x±Â!Ñ.éL CPM TO MOVE CHAR TO PRINTER 012D CALL 5 DO IT 0130 JMP 103 GET NEXT CHARACTER 0133 NOP 0134 NOP 0135 NOP 0136 NOP 0137 NOP 0138 NOP 0139 CR ENDS DDT ASSEMBLY -^C C RETURNS TO CPM Ãú Ë,õyÍ$ñÉÍÔÈþ ÉÍKþ Ê<ÍÊ!È 6 # Â)!È wÍKÍÈ# Ê<Ã5ÍKByÉÅÍEÁÂ<Éæ8Éæ0ɾÈ# Âd Éë*È ë{¾Â~#z ¾È +++ Âr É:Ì þ Â<>H2ÞåÈ ~þ@̸¾Â¬#™ÑÉáüÿ ÂŽA Éã#ã2ÞþHÈþXÈþYÉÅÍ:È þ[Êá!® ÍmÂ<yÁÉ!Ý~·Â<4:Í þ]Â<:É ÍÁÂ<Í~:Ë A>SAVE 1 B:TYPER.COM CREATES COM FILE TYPER.COM ON B: A>B:TYPER TRY IT OUT  NOP 0136 NOP 0137 NOP 0138 NOP 0139 CR ENDS DDT ASSEMBLY -^C C RETURNS TO CPM  Íà‡‡‡‡G:Ì Íà°G:Ê ò$þ-Â<xþ€Â<>-þ-xÂ,/<2ð>ÁÉÅÍ!À ͆Â< yÁÉÍ3þÊ<ÉÍ3þÊ<þÀ=Éõ:ÞþHÂ<áÉ:ÞþHÀÃ<Ígõ:ÞþHÄ~ñÉþX>Ýʺ>ýú*É "È :Ë þ Â<!ž ÍmÂ<yÃWÍŠõÍEñÉ!Ý6ÿ>í!>Ë*åw#"åÉ/_ÿ~ÉÍÃúÍKþ Êdþ.ÊdÍ!Ý6Íô!Ý56À>ú!ºåw!† ͆å¬yÆ›Ú`Æ ÚfÆÚoÆÚŽ<ÊŸÆÚ®ÆÚ³<ʾÆÚÌÆÚÝ<ÊÆÚÆÚ(ÆÚ2ÆÚFÆÚSÆÚ\ÆÚpÆÃ|!|ÃÃ!†ÍÊÃN!ŒÍÊÍE*åy•oxœg |·Â<}Ö€É!’ÍÃͺÍEͺxÉÍÇ@ÍWGÍǰ±É€Ã¤ÆOÍÇÍW±ÉͶͺÍèÃN‡7�‡GÍ3þÒ<áÃþ‡<þÚæÆÍ÷æÏþ Ì\=áÀå×GÍFÍsÍ]!  °ÃºÍ öÇÉÍNþÒ<ÃWÁÊÅÍOÍsÍ]±É<OÍ Ã7ÍWGÍÇõ͸Íèñ°±ÉOͰyÍWöCÔö@OͰöÍWöBGͰÍFÍ\Í]°É!®ÍÃõͰñÉO!� ÍÃëÍpGyþÊ•þÐÔÍFþ¦:Þ¸Â<> áÃþ:È þJ¼ͧöÂÃÆþCÂÍͧöÄͺyÚþRÂ<ÍŠöÀÉ*âÕë*à{•zœÚdÑ~#"àÉåÕþÂþ:ß·Â >o&I LDI RLD RRD LDARIM2 LDAIIM1 STARRETISTAIIM0 RETNNEG DSBBDADCINP OUTPSBCDLBCDSDEDLDEDSHLDLHLDSSPDLSPDRLCRRRCRRALRRARRSLARSRARSLLRSRLRBIT RES SET POP PUSHRST LXI INX DAD DCX STAXLDAXMVI INR DCR ADD ADC SUB SBB ANA XRA ORA CMP MOV CALLJMP LDA STA LHLDSHLDJR)  NÑáÃ>[Í$Í/Í$ÍØ·+ò$-/<ÍÍ„]Ã:߯HÐþ%>XÈ>YÉy‡‡O ~þ@Ì/Í$#ÂDÃ"zæ8ÉÍÍU‡O!� ~Í$#~Í$Í"Ã"ÍUæþ‹SÍPÃþÂîÍ/Ã$Íž*àÍ·Ãq!9"ç2ä·!ÄåÈ!ÿÿ"â<À<2ä*àÃÝ!ÄåͨÂd!ä~·ÊÚ5ÊdÍ–¯2ßÍØW!iÍdÊ ÍdÊ ÍdÊC JRNCJRZ JRNZJMPRDJNZCPI ORI XRI ANI SBI IN SUI OUT ACI ADI EI SPHLDI XCHGPCHLXTHLEXX RET HLT CMC STC CMA DAA RAR RAL RRC EXAFRLC NOP ãùé*"NZZ NCC POPEP M B C D E H L M A B D @ SP PSW DB ZDT VERS 1.4.14---CPU IS 8080Z-80ã"ÈãÃ*"ø ÍdÊ÷æÀÊ|þ@Êâþ€ÊozþËÊSþíʇæßþÝÊÜæÊwÖÊrÖÊjÖÊÐ!’zÍËÍUþ‹!À ÃBÍØWþ@!fÚræ!‚Í>ÍÖÃî!ÂÍUÍ>Ãñ*à+"à+VÃ2ÍØWæÇÖ@!>ÊÙ=!BÊÙ=ÊÂ=ʶz!’Íd!ÂÊ=Ã{ÍU!FÍ>Ãý!wå!6zæÃ@!šÍBÍUÃ�z2ßÍØWþvÊ{æÇþFÊâþ†ÊozæøþpÊâzæÏ!ò "!"ÍL¯2Í!"à"Û" 1Nå! åÂ( 3"Ë!"H!Î Í 7ŸêE !í Í !\$ ÍÈ :]þ !Ät 15!_ åÍž>-Í$ÍÍKþ ÈÖAÚþÒ_!Ž ^#Vëéâ  á• ± > e ò Å Äa «õöÛ 7A~#·ÈÍ$àåÕů2#2D$Íò ÁÑáÉÍA=ÂÍ"àÃHÍAÊ Í"à=Êþ ÊXzÖ4ÊÖ=ÊÐ=ʾzæ÷þ"Êaæõþ!Ê‘zæûþáÊ>z!¾þãÊBæïþéz!¶ÊÊþåÂ{*à#~æþÂ{~!ØåÃV!ÂÍBÃw!®ÍÉÃýCÍ\ÃýJÃlRÃ\zæÖʵÖÊÖ=ÊÐ=ʾ!žzæ=Ê©þÚ£ÖÍ>ÃwÍBÍwÍÃý!®ÍÉÃw!¶ÍBÍUÍîÍÃ!¾ÃÙ!ºÍBÍUÃî!âÍBÍUÍîÍzæÃî!âÍ=ÍØ Í"â=Â> âÍAÊ1 ÍÚ! "Ûæ=Ê1 Í=ÂÃ< *Û}æðo¿ë͘*ÛåÍ·Í"Í‚ÍÎÚY }æÂG "ÛáÍ"~Í¿#ÍÎØ}æÂ` Ã= ÍAþÂÍåDMÍ#}‘O|˜GÍëáÉ{‘z˜ÉÍr 7Ÿâ¦ s# x±Â� ÉsT]x±È í°ÉÍžÍAÍåÍåÍDMÑáóÊí ÚÐ "Læ=Êí Í =Êâ YPÍ >Ã28!"97Ÿê 14ñíGýáÝáñÙõÍØWñ_ö! Í=ÍØÄ!: Ã=!úÍ=ÍØÍ+÷_ŸWÉ!Ä ÍBzÄÍž?Í*çù!9"çÍ–"åÍÍÐ*å"àÃO*çùÉ'/7?vÉÙãéëóùûÆÎÓÖÛÞæîöþ (08"*2:ÃÍDEFGMOVW^_go ¡¢£¨©ª«°±²³¸¹º»SI@DLI@DPCI@SPI@XTI@DAD@OTDRINDRCCDRLDDROTIRINIRCCIRLDIROUTDIND CCD LDD OUTIINI CCÁÑáÙ1BÑÁñáù*L" *JÃõ!Í~4·Ê2 #~#»~#Â2 ºÂ2 ~#s#r#w>ÿñÉÍAþÂÍåÍÑå͞ͷÍ"ᯕo>œg÷Íó¯2D2$ÍK !%þ:ʾ w# ÊÍKþ.Ê� þ Âw Ê™ 6 #Ã� þ.± ÍKþ ʱ w# Êà Ê» 6 #ñ 6É+~æÃl Ír 7ŸâØ ~# x±ÂÍ Éí°ÉÍr ¾Äì # x±ÂÞ É͘Íò Í·Í"~Í„ëÃ""  !-~þHÀ#~þEÀ#~þXÉë* }“|šëÉÍ Ð" É>M•>œØå>•>œáÐÍ !@ Í Ã*** ATTEMPT TO OVERLAY ZDT *** ÍóÍA!Êt =ÂÍåÍÌ þÿÊÍ Ê© á€Í# åÍO$Íò á·Â€Í È ÍÑþÊÖ:© WáåÍö _Íö õÍö ÁO {·ÂÕ `i"LáÃÕÍ# ÑÍö Íö w#Âß Íö õÍ ñÂé ÅÍÝõÍÍÔÂõÉë^#V#ëÉÍKÍÍ6þ ÉÍKÍÔÈÍàë))))µoëÍKÃ!s#r#å!Ô4áÉÍK!Ô6þ ÊiÍÔÂV6€#ÍÊiÍÊiÍÂÔþ�Ê·É·!FÊ�!:¯? ƒO¦ÉÊ›Íw> Ê$zÃ$õzÍ$>=Í$ñÍwÆÿ>�Ã$V#^#~#NþÚ‹õÍ"zÍ${þ Ä$>=Í$ÿ!N ñ~Ê„#fo÷!$Í7Ÿ!Iä!RÍÍ"*L"à>ÿÝÁ°G‚WxÁÉÍL Ãò Í !*Í * Í·Í"*L÷ NEXT PC ÍD!"ÅÍAÊhÍDM=ÊhÍ=Êl=ÂåÍ"ÅáÃl* +ÅåÍ ÑáÊ‚NÍŽ#ÍÎÒvÉå ÍÎáyÒ“{•<ÈÕ_P͇:ÍŽ{ÍiåÕë*ÅÑÍdá¯Íi~#Íi²¯’ÍiÑÂÍe ¯2Ç$ÕÍò ÑÕÍò ÑÃò ÍDÍAÊøÍ"LÃø:Ç<ÈÍ Â"Í¢*L"àÉ7Ÿè![Ížåͱá####~·ÂÉC Z M E I A ùB öD ôH üX êY èS úP þc z m e i a íb îd ðh òIVç!"ËÉó"Já+"Lõ!9ñ1JåõÅÕ7ŸêµÙåÕÅÙõÝåýåíWõ15*L~þÿõå!Í~6·Ê×=G#^#V#~xÃÆáñÊû#"Lë!ø N#FÍ� ÚûÍ„*Èë>‚·7ÃÆ û*Ë|͇:ÍŽ¯WÍi*LÍd>Íi¯’Íi͇!Ç~6ÿ·Ê<_!Eq#ò3ÍU$Ãò :Ç·ðÃ!EëÃò $Íò ·ÈÍ<!kÍ Ã*** DISK WRITE ERROR! ***  ÍŽ ÅÕå!Ç^4!Eqò§¯2ÇÍUáÑÁÉÍA=ÂÍ͞ͷÍ"~Í„>-Í$Í1þ Êíþ Èþ+ʵ#ÍÔÊéåÍòëásþ È#þ> Í$øö¯2ÊÍA!µÊ+"ËͨÂ:Ê·ÄáÍ5ÚÆ Í„>*Í$*L"àÍ·*J"ÛÃ_ *LF#åxþvʱ!åÚJ‡ØÈáxþÊæÏþÊæÇÊ®þÊxæçþ"ÊéÍCáåFxæ÷þEÊ8æÇþCÊ!åxæäþ ÈæÄþ@ÈxþDÈþFÈþGÈþOÈþVÈþWÈþ^Èþ_ÈþgÈþoÈá·Ã!ÍCáåFxþËÊþvʱþéÊ&þ!ÊæûþáÊxæ÷þ"Êþ#ÊxþùÊþãÊæÏþ ÊæÇþ†ÊþFÊÊ=ÂÍ}´Ê+"ËÍáÃxþ'Â%yÆ O> þ Â, ~¹Â6#~+¸È####~·Â,<ÉÍKþ Êáþ'Ê OÍKG!$ÍÊ|!RÍÊ|7Ÿê!IÍÊ|![ÍÂåÍžͱÍ"ÍÍA·ÁÈ=ÂÍ þW OÒ¼}æþ´Â}ŸõzÍwy/¦Gñ¡°wÉëÿ!N ÂÍz·ÂsÉs#rÉåÕÅ:#æÊñ_!E~þÊ!#4·Ã$Íò ·Â2#xþ6Êæþþ4ÊæøþpÊñ##~æþÊñ#ã+~þÝ*8Êû*6Ãû#ãßÍCÃ7ŸàáñÐáxþÃÊ™þÍÊ¥þÉÊŸþéÊøþÙÊæ7þÊæÊ ÖÊáÖÊØÖÊ=ÊêxþíÊmþËÊ=æßþÝʵéÍ¿ÂÍÑÃÍ¿ÂÃÍCá~#åÍ+ëÍÇÃäÁá^#V#åÅ:ø »À:ù ºÉ*H^#VÉÍ¿Êà Í¿ÌÑà xþÿʱæ8_Ã*JëÍÇÃÃÜ7ÁÑáÉÍž>?Í$Ã_  ëÍò !í"éÉ> åÕÅ_Íò ÁÑáÉÅÕåÍò áÑÁæþÀÇþÈþaØæ_Éå!ì~·> Êb5*é~#"éÍBáÉ|Íi}õ‚WñõÍvñæÆ�'Î@'OÃŽ~#õÍ�ñæÆ�'Î:'Ã$ͨÂ_ > Í$> Ã$ÅÕå Íò æáÑÁÉë|Í„}ÄþÒÉþ Ò$>.Ã$z”À{•Éþ Èþ,Èþ ÉÍÑÖ0þ ØÆùþ ÚþØÃ!Íà))))µoÍ1œÍCÑÕÃÍÑÁÅ>ÃÑ>Ñ>ÑÕ><7áÉÿ #  ÿ output routine. Enter with 8 bit binary ;number in . Second entry at BNDEC2 assumes 16 bit nb. in ; bndec1 mvi h,0 mov l,a ; now has number ; bndec2 push b push d push h l$@„���ID ‚„ �@$!$ˆI$�@B@„BA"I!!"D @ ! !  „!„BB„!$’I @’HB �$�ˆ�$‰$!$B"@D ’ $$A" �ˆH! ’AB@HHB’@„!$’@‘’$„H‘„„„„! B„‰ $’I$B@H‘ $’H�$‘ �" @D $’BBˆ� „’I$’I$’I$‚II$’I I$’xi b,-10 lxi d,-1 bndc dad b inx d jc bndc lxi b,10 dad b xchg mov a,h ora l cnz bndec2 mov a,e adi '0' $‚ ’@’HIH„�‚UUUUUU@�$$’I$II$‚D�"I ‘HH D@Iˆ@@HH „ˆD€ BHB �!ˆ  "I A‚I‘ HB�„ˆ"A"$@@I$’@A �Hˆ‘ „D€B„AB!$ ’I$!! ! @�’ I !I$BB HH call conout pop h pop d pop b ret ; err1 call inlprt ; in line print db 0dh,0ah,'Nonstandard disk ' db 'parameter block error' db 0dh,0ah"B$‚@€„D’HI$‘ $  D @�„‰ !!$€€BA@$!"„A’I$�I$�@$�B!€€ˆ! ’I$$� € B @I "$‰$$’I�€ B H „!BA€$I @!B!D�I$�B$’A"HH ZDT.DOC ver 1.0 4/27/80 DOCUMENTATION FOR ZDT Version 1.4.14 This is a version of DDT that can use Z-80 Mnemonics. This software will automatically determine which chip (8080 or Z-80) it is running on and will work accordingly. Thiee blocks inx h ; add one free shld free ; store total free count pop h pop psw ; restore Acc ret ; return to caller ; ;Binary to decimals software will use TDL Z-80 Mnemonics when in the Z-80 mode. The commands to utilize this software are the same as for DDT with the addition of a few aditional commands: Extra command: Action: O Open F$  ile ie Ofilename.atb filename is any CP/M legal filename atb is CP/M file atribute ie hex,com,asm W Write to file ie Ws,f,optional offset s=start f=fi ; lsb into E inx h ; point to msb mov d,m ; get it xchg ; put it in HL... inx h ; alloc size = (dsm/8)+1 shld tbtr ; ...andnish addresses E End/Close file ie E optional hex run address The above is reconstructed from scratch notes. Please feel free to improve on this documentation. The programs oterm disassem hanoi were written by Michael M Rubenstein 4503 Rena Rd #201 Forestville, MD 20746 They may be distributed freely provided no fee is charged.  aldrv ; get any alternate drv ora a ; any specified? jz dpblk ; if not, skip next dcr a ; less one sta drive ; save as drive to use ; dpblk ; it will be 3-7 (make it 1-5) cpi 5+1 ; check for over 5 jnc err1 ; nonstandard size cpi 1 ; check for less than 1 jc err1 ; nonstandard size lda drive ; get drive to bitmap mvi c,sdsk ; set call for disk select mov e,a ; bdos wants it in E call bdos ; let bdos do it mvi c,dskpar ; we want  push psw ; save it call inlprt ; in line print db 'Allocated disk block size is $' pop psw ; get block size back sta blksiz ; save it for end dsk parameter blk call bdos ; get it, and..... shld dpb ; ...save it lxi d,5 ; offset for total blks used dad d ; add it to HL mov e,m  lxi h,512 ; set 1/2k counter lp dad h ; multiply * 2=1024 dcr a ; less block size code count jnz lp ; loop till = 0 call bndec2 ; print siz%  e in K ; dpbend call inlprt ; finish message db ' bytes per block',0dh,0ah,'$' lhld tbtr ; total bits to read push h ; save it in the stack lda drive ; agasassembly of a .COM file. This program is from -CPMUG.042. Instructions are built-in. Place RESOURCE.COM in drive A. At the A> prompt, type RESOURCE Also, refer to RESOURCE.DOC. REZ80 is a version of RESOURCE which can use TDL Z80 mnein to be safe mov e,a ; into E for bdos mvi c,sdsk ; reselect disk call bdos ; let bdos do it mvi c,gtaloc ; get the allocation address call bdos monics. ZDT is a version of DDT which can use the same mnemonics. Note: These are not the Zilog Z80 mnemonics you may be more familiar with. For information, refer to their .DOC files. TRANSLAT converts 8080 assembler code to Z80 code. It app ; ...from bdos pop d ; tbtr from stack dcx h ; back allocation up one ; ; ;We now have the total number of bits to read in DE, and ; the address to start reading them at in HL for the ; properears to use Zilog mnemonics. It was received from the Osborne Users Group (OUG) of the Washington D.C. area. The file to be translated must be on the logged (default) disk drive. For example, place TRANSLAT.COM in drive B and the .ASM file to be drive. So now let's print the bitmap. ; ; bmap mvi c,48 ; 1's and 0's per line call crlf ; followed by a cr,lf bmap1 inx h ; kick the pointer mov a,m ; get the byte  translated in drive A. At the A> prompt, type B;TRANSLAT filename.ASM See TRANSLAT.DOC for instructions. DISASSEM is an MBASIC program to disassemble a .COM file. It was received from OUG. To run, place DISASSEM.BAS in drive B and MBASI DISK.DOC -FOG/UTL.007 First Osborne Group (FOG) Utilities Disk Utilities on this disk will be particularly useful to the assembly language programmer. Using RESOURCE, you can perform detailed diC in drive A. At the A> prompt, type B: At the B> prompt, type A:MBASIC DISASSEM See DISASSEM.DOC for instructions. Also, refer to DISASSEM.LTR. Jim Woolley FOG Disk Librarian S&  eptember, 1982 ons. Also, refer to DISASSEM.LTR. Jim Woolley FOG Disk Librarian Sååå!9"=1=Ãáã~#þ$ÊMÍOÃ@ãÉåÕÅõ_ÍñÁÑáÉÍ? $Éõ>1ÍOñÉõ>0ÍOå*ß#"ßáñÉ&oÅÕåöÿÿÿ ÚŠ ë|µÄ�{Æ0ÍOáÑÁÉÍ? Nonstandard disk parameter block error $*=ùÉÍþÿÀ!Ð:\2×Í?BITMAP 2.2 AS OF 7/å11/80 $Í2Ö:×·Ê=2Ö:Ö_ÍÍ"Ø^#Vë#"Ú*Ø##~ÖþÒ£þÚ£õÍ?Allocated disk block size is $ñ2Þ!)=ÂuÍ�Í? bytes per block $*Úå:Ö_ÍÍÑ+0Í^#~ÜeÔmõz³ÊÊñ ʧʬðñÍ^Í^:ÖÆAÍOÍ?: R/W, Space: $:Þ*ß=Êù)ÃñÍ�Í?kå $ÃÑ bytes per block $*Úå:Ö_ÍÍÑ+0Í^#~ÜeÔmõz³ÊÊñ ʧʬðñÍ^Í^:ÖÆAÍOÍ?: R/W, Space: $:Þ*ß=Êù)ÃñÍ�Í?kå'  18ÍþÊþ Â* Í Í ÍÃ_ÍÃÃÅÅ0 ÍÁ!~=�WÕ!x±Êe ~#ÃXÑÁåbx±Ê‡ {æÂzã~#ão}oÒƒ„ÃiÑ.éÍ2_É!fp+q*eëÍ2_ÉÍ2_É!hp+q*gëÍÉ!jp+q*iëÍÉ!lp+q*këÍÉ!np+q*mëÍ2_É!pp]r´ååååååååå