Konference: SAPI-1 a československé mikropočítače

Od: Jiri Biba
Datum: 8.9.2011 01:45
Předmět: Re: zalohovanej Ramdisk


Takze na Sapi prevedes COM (BIN) na HEX a posles ho ven jako soubor
Hex a na druhy strane ho zachytis Hyperterminalem jako textovej
soubor? Jako datovej to nejde, tam musi byt nektery protokol X, Y
nebo Z modem. A ty v sobe Sapi nema. Mozna kdybych vedel jak maji
protokoly vypadat, tak bych zvladnul naprogramovat nejakej
jednoucelovej obousmernej modemovej protokol pro Sapi.
Nojo, ale co v PC s tim hexem? Jak to zase v PC prevyst na COM nebo
BIN?
Jeste ze me chodej oboustrane aspon ty textaky....
Ja vsechny zdrojaky v assembleru pisu v obycejnym Poznamkovym bloku
a pak to prenesu Hyperterminalem do Sapi se spustenym upravenym
PIPem a v Sapi to prelozim a odladim. Ty editory u osmibitu jsou
naprosto strasny....
Jirka

----- PŮVODNÍ ZPRÁVA -----
Od: "EC1045 (sapi tu byla ta zakroucena vec pandora.cz)" <ifbrk tu byla ta zakroucena vec seznam.cz>
Komu: "Konference 'SAPI-1 a československé mikropočítače'"
<sapi tu byla ta zakroucena vec pandora.cz>
Předmět: Re: zalohovanej Ramdisk
Datum: 7.9.2011 - 20:44:16

> 
> Prenyst spolehlive binarni data do programatoru na
> PC
> > stale neumim... 
> 
> je tu format ktery to zvladne bez straty kiticky a
> to je starsi nez 8080
> 
> kolikrat se mam opakovat ze nejspolehlinejsi
> nejuniverzalnejsi a snad nejdele pouzivany format
> na prenos binarnich dat je:
> 
> INTELHEX
> 
> pouzivaji se znaky ":" 0-9 A-F "CR" a "LF" takze
> se da bezproblemu poslat i pomoci 7bit kodovani a
> ze znaku s nisim cislem nez 32 (mezera) se
> pouzivaji jen "navrat vozu" a "novy radek" tj.
> data jsou ulezena v HEX formatu
> soucasti kodu je delka radku, adresa, vlastni data
> a kontrolni soucet (krom dvojtecky ktera udava
> zacatek kodu)
> vzhledem k datu vzniku umi jen 64KB jak nazev
> napovida tak bilo vivinuto firmou INTEL za ucelem
> prenosu dat tj. obsahu mameti xROM (INTEL se ve
> svich pocatcich vihradne venoval virobe pameti)
> napr TESLA pouzivala tentiz format za sejnim
> ucelem jako INTEL tj. k zadavani obsahu pameti
> xROM
> 
> SAPI v sestave ZPS-2 s Monitorem/MIKOSem V4 i V5
> tento format tez umi
> 
> pokut budes chtit poradit jak na to tak jsem se
> stim uz zabival a bezne to pouzivam na prenos dat
> mezi SAPI a PeCkou a to bez nejakich specialnich
> programku ci sileneho nastavivani cehokoli tj. na
> strane PeCky mi staci TRMINAL ktery zvladne
> zachitavat do souboru coz jsou vpoctate vsechny
> 
> 
> aneb vipadato napr takto:
> (vipis MIKROBASICU 4KB)
> :18000000C319002A244023C9C3EE472A01402BC9C3F747CD7107C34DE5
> :180018000031B140CD5C0CCDF40CAF32234032004011D000CD2B0821F4
> :180030000300221D4021EF4022244021AD4722EB4021ED4722ED402139
> :18004800AB4722E940CD060931B14011FB02973223402F320A40CD2B88
> :1800600008216800220B40210000221340220D40063ECDB307D5CD5CBC
> :1800780009CDC502CD6E027CB5C1CA29091B7C121B7D12C5D57993F5BA
> :18009000CD0108D5C2A700D5CD1F08C12A2440CDA7086069222440C1A0
> :1800A8002A2440F1E5FE03CA4D00856F3E008C67CD6409CD6802D2ACB0
> :1800C00007222440D1CDB208D1E1CDA708C370004D494B524F204241BD
> :1800D800534943004C4953540059034C4C49535400560352554E0016AD
> :1800F000034E4557000D03524557494E4400280C4D4F4E49544F5200D6
> :180108000D0F52414D0076094C4F414400230B5341564500B30B4E4596
> :18012000585400AB044C455400A605434C53002309434C454152001B4C
> :180138000548415244004A03444953504C0050034946002B05474F54C6
> :180150004F003903474F53554200090452455455524E002B0452454D8C
> :18016800000C05464F52004604494E5055540046055052494E5400A72E
> :18018000034C5052494E5400A403454E4400130053544F50000E0B4358
> :18019800414C4C00A4094F55544348415200C70A4F555400B1094F24BD
> :1801B00000380A492400450A5741495400D7094245455000E809504F78
> :1801C8004B45007D0A4D41534B006C0954414200FF09425954450092C2
> :1801E0000A574F5244009C0A00A005524E4400C40641425300F10653A8
> :1801F800495A4500FA065045454B00760A494E4348415200D10A484545
> :180210005800D80A494E4D00150A494E00100A2700B90A544F50000308
> :18022800004152454D0017054C454E000B0000A206544F005604007777
> :1802400007535445500062040068043E3D00BE052300C4053E00CA055A
> :180258003D00D9053C3D00D1053C00DF0500E5057CBAC07DBBC91AFE0B
> :1802700020C013C36E02F1CD5E07C37707CD6E02D640D8C2A10213CD7C
> :18028800B30629DAEF02D5EBCDFA06CD6802DAAD072AE940CD1D07D14A
> :1802A000C9FE1B3FD81321B34007856F3E008C67C9E3CD6E02BE23CA66
> :1802B800C102C54E060009C11B1323E3C921000044CD6E02FE30D8FEE5
> :1802D0003AD03EF0A4C2EF0204C5444D292909291A13E60F856F3E0055
> :1802E8008C67C11AF2CC02D511F602C37B07484F573F0D52454144599E
> :180300000D574841543F0D534F5252590DCD710721EF40222440CD7153
> :180318000711EF40210000CD0908DA4D00EB220B40EB1313AF322340B3
> :18033000CD060B211D01C32C09CDB405D5CD7107CD0108C2F002F1C3C2
> :180348002503CD550CCD7602CD5C0CCD7602CD550CCDC5023EFF320651
> :1803600040CD6E02FE0DC28703CD0108DA9E033A0640FEFFCA7B033D5E
> :18037800CA4D00320640CD9208CD0908C36C03FE2BC2690313CD6E02C0
> :18039000E5CDC5027D3C3C320640E1C36903CD5C0CC35000CD550C0EDB
> :1803A80008CDB1023A09CD0609CD5C0CC32C03CDB1020D09CD0609CD30
> :1803C0005C0CC31C03CDB1022A0ECDB4057D0F0FE6C0322340C3EA0317
> :1803D800CDB1022307CDB4054DC3EA03CD3908C3FE03CDB1022C06CD8F
> :1803F0005E07C3C503CD0609CD5C0CCD7602CDB405C5CD4E08C1C3EAD3
> :1804080003CDDD08CDB405D5CD0108C2F0022A0B40E52A0D40E521006B
> :180420000022134039220D40C32503CD71072A0D407CB5CA7707F9E1AD
> :18043800220D40E1220B40D1CDC108CD7602CDDD08CD45072B221340D8
> :18045000213802C32C09CDB405221740214002C32C09CDB405C36B042F
> :180468002101002215402A0B40221940EB221B40010A002A1340EB60B8
> :1804800068393E097E23B6CAA4047E2BBAC283047EBBC28304EB210079
> :180498000039444D210A0019CDB208F92A1B40EBCD7602CD7D02DA776C
> :1804B00007220F40D5EB2A13407CB5CA7807CD6802CACE04D1CDC108CB
> :1804C8002A0F40C3B4045E23562A1540E57CAA7A19FAE004ACFA0405A7
> :1804E000EB2A13407323722A1740F1B7F2F004EBCD3C07D1DA06052AAA
> :1804F8001940220B402A1B40EBCD7602E1D1CDC108CD7602EB221F4078
> :18051000EB210000C32E052A1F40C921B340D51136000E00CD090DD18D
> :18052800CD7602CDB4057CB5C22C03CD2108D22503C34D002A1140F95A
> :18054000E1220B40D1D1D5CD3908C35605CD7D02DA9405C36805D5CD21
> :180558007D02DA77071A4F9712D1CD2B08791B12D5EB2A0B40E52146AA
> :1805700005220B4021000039221140D5063ACDB307CD5C09CDB405D10F
> :18058800EB732372E1220B40CD060BD1F1CDB1022C03C34605CD760278
> :1805A0001AFE0DCAB105CD4507CDB1022C03C3A605CD7602CDFC05E570
> :1805B800214A02C32C09CDE705D86FC9CDE705C86FC9CDE705C8D86F7C
> :1805D000C9CDE7056FC8D86CC9CDE705C06FC9CDE705D06FC9E1C979B8
> :1805E800E1C1E5C54FCDFC05EBE3CD3C07D12100003E01C9CDB1022D0D
> :1806000006210000C32E06CDB1022B00CD3806CDB1022B15E5CD38065E
> :18061800EBE37CAA7A19D1FA0F06ACF20F06C3EF02CDB1022D92E5CD0B
> :180630003806CD2707C31806CD9C06CDB1022A2DE5CD9C060600CD2407
> :1806480007E3CD2407EBE37CB7CA5A067AB2EBC2F0027D210000B7CAA3
> :180660008E0619DAF0023DC26206C38E06CDB1022F4EE5CD9C060600F4
> :18067800CD2407E3CD2407EBE3EB7AB3CAF002C5CD07076069C1D17C7E
> :18069000B7FAEF0278B7FC2707C33B0621EA01C32C09CD7D02DAAD0676
> :1806A8007E23666FC9CDC50278B7C0CDB1022809CDB405CDB102290197
> :1806C000C9C37707CDB3067CB7FAEF02B5CAEF02D5E52A1D4011F30FB0
> :1806D800CD6802DAE1062168025E2356221D40E1EBC5CD0707C1D12310
> :1806F000C9CDB3061BCD240713C92A2440D5EB2AE940CD1D07D1C9E5A3
> :180708006C2600CD1207417DE1670EFF0CCD1D07D2140719C97D936F03
> :180720007C9A67C97CB7F07CB5C87CF52F677D2F6F23F1ACF2EF027822
> :18073800EE8047C97CAAF24207EBC36802CD7D02DA7707E5CDB1023D6C
> :180750000ACDB405444DE1712370C9C37707CDB1023A04F1C32C03CD13
> :18076800B1020D04F1C31C03C9CD6E02FE0DC8D511010397322340CD26
> :180780002B08CD5C0CD11AF597122A0B40E57E23B6D1CA4D007EB7FAA8
> :180798003C05CD92081BF1123E3FCD080997CD2B08C34D00D511070391
> :1807B000C37B0778CD0809CD5C09CD6A0DFE08CAD907FE7FCAE907CD6C
> :1807C80008091213FE0DC87BE52AED40BDE1C2BA077BE52AEB40BDE1E5
> :1807E000CAE907CDF107C3BA07CD0609063EC3B3071B3E08CD08093EE4
> :1807F80020CD08093E08C308097CB7FAEF0211EF40E52A24402BCD68A0
> :1808100002E1D81A9547131A9CDA20081BB0C913131AFE0DC220081378
> :18082800C30908471A13B8C8CD0809FE0DC22C08C9CDB102220F3E2237
> :18084000CD2B08FE0DE1CABF03232323E9C90600CD2407F25908062D89
> :180858000DD5110A00D50DC5CD070778B1CA7008E32DE56069C36008B5
> :18087000C10D79B7FA7F083E20CD0809C3710878B7C408095D7BFE0A95
> :18088800D1C8C630CD0809C385081A6F131A67130E04CD4E083E20CD0B
> :1808A000080997CD2B08C9CD6802C81A021303C3A7087892C2BA087925
> :1808B80093C81B2B1A77C3B208C1E12213407CB5CADB08E1221540E14B
> :1808D000221740E1221940E1221B40C5C9214E40CD2707C139D2AC0726
> :1808E8002A13407CB5CA03092A1B40E52A1940E52A1740E52A1540E5D8
> :180900002A1340E5C5C93E0DF5FE0DCA1309CD0740F1C9CD1909C3112D
> :18091800093E0DCD07403E0AC30740CDF40CCD760221DB00CD6E02D5ED
> :180930001A13FE2ECA4E0923BECA30093E001BBECA550923BEC2430923
> :180948002323D1C32C093E0023BEC25009237E23666FF1E9E52AEB40A1
> :18096000545DE1C9E52AE940545DE1C9CDB4057D320A40CD7602CDB44C
> :1809780005EB21AB47EBCD6802DAAD077CB7FAAD077E2F7746B8C2AD42
> :180990000722ED407DD6406F7CDE006722EB402B2BC34A00CDB405D52B
> :1809A80001AD09C5E9D1CD7602CDB405E5CDB1022C1ACDB405453ED3AF
> :1809C000320340E17D3204403EC932054078CD0340CD7602C37707CD7D
> :1809D800B405D52664CDF4092DC2DB09D1CD7602CDB405D5EBCD690EB2
> :1809F000D1CD7602166415C2F60925C8C3F409CDB3067CB5CC76022BB6
> :180A08003E20CD0740C3020ACD1F0A6FC9CD1F0A6F3A0A40A56FC9CDD4
> :180A2000B306E53EDB320340E17D3204403EC9320540CD03402600C941
> :180A3800CDB405D5EBAFCD2B08D1CD7602CDB405D5EB2A2440EBCD68A7
> :180A500002DAAD07CD5C09CDBA07444DEB2BCD5C09D5CDA708AF02D192
> :180A680023CD1D07EB210140732372C3410ACDB3066E2600C9CDB40596
> :180A8000E5CDB1022C09CDB4057DE177CD7602C37707CDB3067DCDA56E
> :180A98000ACD7602CDB306CD730ECD7602F50F0F0F0FCDAE0AF1E60F42
> :180AB000C69027CE4027C308091A136F2600CDB1022701C9C37707CD67
> :180AC800B4057DCD0740CD7602CD6A0D26006FC9C5210000CDB1022857
> :180AE0001D1AFE0DCA7707CD940EDA77072929292906004F0913CDB11A
> :180AF800022903C3040BC3E10AC37707C1C93A002807D8C3110BCD710F
> :180B1000072A0B40EBCD06093E2ACD0809CD9208C34D003E38D3103E36
> :180B2800FFD311DB120600DB11E680C22B0B78FEFFCA440BCD880B06A1
> :180B4000FFC32F0B3E2ACD0740CDA50BFE42C22B0B0600CDA50BCD0719
> :180B580040CDA50BFE0DC2560BCDA50B5FCDA50B5721EF40CD6802CA99
> :180B70007A0BCDA50B7723C36C0B48CDA50BB9C2E10B222440C3DA0B3D
> :180B88002E14112E6E2664CDF4092DC28D0BC9F58047F1D312DB11E65E
> :180BA00040CA9D0BC9DB11E680CAA50BDB12F58047F1C9CDF40B2A2479
> :180BB800407DCD970B7CCD970BEB21EF40CD6802CAD30B7ECD970B23E4
> :180BD000C3C50B78CD970BCD880B3E10D310C34D00CD060911EE0B9775
> :180BE800CD2B08C34D004552524F520011220C97CD2B08063DCDB307BB
> :180C00003E30D3103EFFD311CD8B0B3E42CD970BCD5C0906001AF5CD04
> :180C1800970BF1FE0DC813C3150C4E414D4520003E38D310CD6A0DC3C6
> :180C3000DA0BCD670CE521002C77F52B3601237EE640CA3F0C2B360347
> :180C4800237EE640C2490C2B3601F1E1C921320C220840C93EC33207ED
> :180C60004021670CC3580CF5E5D5C54FCD4B0D3A2340477EE6C0FE8013
> :180C7800C2840C78B7C2840C7EE67F7779FE0DCA120DFE08CAB70CFE39
> :180C90000ACA190DE63F5F78B377E6C0FEC0CCDA0CCDDA0C3A2340B70F
> :180CA800C2B20CCD4B0D7EF68077C1D1E1F1C93A22403DFEFFCAC60C85
> :180CC000322240C3A40C3A21403DFEFFCAF80C3221403E27322240C323
> :180CD800A40C3A22403C322240FE28D8AF3222403A21403CFE18CA1FD1
> :180CF0000DC3660DF5E5D5C5210038110008CD070DCD620DC3A40C0E25
> :180D08002071231B7AB3C2090DC9AF322240C3A40CCDE80CC3A40C212B
> :180D200000381140380E17CD400DC501180009EB09EBC10DC2270D2110
> :180D3800C03D114000C3070D06281A77132305C2420DC926003A2140E9
> :180D50006F06062905C2530D3A2240B56F7CF63867C9AF322240322190
> :180D680040C9C5D5E50E801605061E26003A0040E6E0B0320024783703
> :180D800017E61F473A0024FEFFC4C00D15C2750DCDE60D79FE01CAA40D
> :180D98000DDA6F0DFE80CAB50DC36D0D7D8421FA0D4F060009CD660ED1
> :180DB0007EE1D1C1C90E900DC2B70D0E00C36F0D1E080FD4CB0D1DC233
> :180DC800C20DC9F57A3D070707E6381DB31CFE07CADF0D6F0CF1C9269A
> :180DE00028CDF20DF1C93A0040E6D0320040320024C93A0040F620C339
> :180DF800EB0D30500D083151410E394F4C203257535A38494B4D3345CA
> :180E1000445837554A4E345246433659484235544756297F0D0821518D
> :180E2800410E28233D203F57535A3E402A2E224526583C3A2D2C2425A5
> :180E40005C5B272F2B3B5E545F5DC53A0040F6403200240E420DC2557A
> :180E58000EE6B03200240E500DC2600EC1C9114000CD4A0E1B7AB3C2E3
> :180E7000690EC97CCDA50A7DC3A50A210000CD6A0D4FCD0740CD940E0C
> :180E8800DAA40E29292929B56FC37E0ED630D8FE173FD8FE0A3FD0D6B8
> :180EA00007FE0AC979FE0DCAB50EFE20C83E3FCD0740C3100FF53E0ABB
> :180EB800CD0740F14FC90600E5D17EFEC3CA050FFECDCA050FE6EFFEB0
> :180ED00022CA050FFE2ACA050FE6CFFE01CA050FE6C7FEC2CA050FFE29
> :180EE800C4CA050F7EE6F7FED3CA060FE6E7E6C7FE06CA060FFEC6CA5A
> :180F0000060FC3070F040404EBC9CDF40C31B140CD190911000197CDD7
> :180F18002B08CD19093E2ACD0740CD6A0DCD0740FE44CA4C0FFE53CA49
> :180F3000440FFE47CA480FFE42CA1900FE52CA4D00C3AD0E21100FE5C3
> :180F4800CD7B0EE9CD7B0ECD1909CD730ECDBE0EC5E53E20CD07407E8C
> :180F6000CDA50A2305C25A0FD1C13E04904707E60F80473E20CD0740CA
> :180F780005C2730F3E3ACD07401AE67FFE20DA8E0FFE7FC2900F3E203C
> :180F9000CD07403E3ACD0740CD6A0D4FCD0740FE08CAD30FFE20CAD890
> :180FA8000FFE0DCA4F0FFE2ECA100FFE22CADD0FE5210000CD850E4757
> :180FC0007D121378E1FE20CA980FFE0DC2AD0EEBC3520F1BEBC34F0FD1
> :180FD800EB23C34F0FCD6A0DCD0740FE22CAF30F4F121AB9C2AD0E13CA
> :100FF000C3DD0FCD6A0DFE20CA980FEBC34F0F243F
> :00000001FF
> 
> > 
> > Tak badam nad tim ROMdiskem, jak ho udelat.
> > -Eprom by bylo nejjednodussi reseni, deska
> > ROM-1A by sla pouzit ale bylo by
> > > slozity dostat data v podobe obrazu diskety do
> > Epromek. Kor kdyz programator
> > > na Sapi umi jen 27128. Prenyst spolehlive
> > binarni data do programatoru na PC
> > > stale neumim... Asi by se musel napsat nejakej
> > soft, kterej z obsahu RMD-1/1
> > > MB (kde by bylo pripravino co ma byt na
> > Romdisku) by hrnul do bufferu
> > > jednotlivy sektory a ty pak programoval do
> > Epromek. Jenze k tomu by musel
> > > byt taky HW ktery by mel 8 datovejch a 18
> > adresovejch bitu a 2-3 ridici
> > > signaly pro rizeni CE napeti a pod. To by asi
> > slo pomoci obou portu na DPP-1
> > > ale muselo by se udelat nejaky zapojeni patice
> > pro Eprom a rizeni pristupu a
> > > programovaciho napeti. To je strasne prace...
> > -SRam by bylo slusny reseni, dalo by se do ni
> > nahrat jako do Ramdisku a pak
> > > zablokovat zapis. Jenze zase baterka, Max na
> > hlidani napajeni baterky a pod.
> > > Ale zase by k tomu sel snadno pridat realnej
> > cas. Nasratovat na bastldesku
> > > by asi nebyl problem.
> > -EEprom koukal jsem do katalogu a pozadovany
> > 512Kx8 se snad ani nevyrabi a
> > > navic jsou velky EEprom dost drahy. A ani
> > vlastne nevim, co by to
> > > potrebovalo kolem sebe na zapsani do nich.
> > Nehlede na problem s E5 v
> > > adresari popsany nize u Flash.
> > -Flash Nasel jsem zdroj na K6X4008T1F za par
> > kacek kus. Nikdy jsem ale s
> > > Flash nedelal a tak nevim, jak se do toho
> > zapisuje. V katalogu se mi to jevi
> > > jako klasicky pristup do Ram. Jen s tim, ze se
> > musi pred zapisem vymazat
> > > cela a nebo aspon blok 64 KB. Tak ted ale nevim,
> > zda by to makalo pod CPM,
> > > tam je ocekavano ze v adresari prazdnyho disku
> > bude vzorek E5. Takze to asi
> > > nepujde. Pokud neni RMD-1 na zacatku v adresari
> > popsan E5, tak blbne, bud
> > > hlasi ze je plny, RO a nebo neumozni zapsat po
> > celym disku. Slysel jsem, ze
> > > nektry Flash se daji prepisovat, nemusi se pred
> > zapisem vymazat ale neni mi
> > > jasny, jak se to u konkretniho typu pozna. Zase
> > by u toho nemohl byt realny
> > > cas, ten potrebuje baterku.
> > Takze to zase asi spadne do baterkove zalohovany
> > Ramky.
> > > Jsou moje uvahy spravny? Nemohl by se nekdo
> > vyjadrit?
> > > Jirka 
> > 
> > ---------------------
> > sapi tu byla ta zakroucena vec pandora.cz
> > Konference o SAPI-1
> > ------------------------
> sapi tu byla ta zakroucena vec pandora.cz
> Konference o SAPI-1
> ---
> 


-- 
Užitečné rady a tipy pro studenty i jejich rodiče a blízké čtěte ve
speciálu portálu VOLNÝ.cz Škola volá.
http://web.volny.cz/data/click.php?id=1267

 
[2011/2 (7)] [2011/3 (12)] [2011/5 (50)] [2011/6 (18)] [2011/7 (112)] [2011/8 (192)] [2011/9 (94)] [2011/10 (16)] [2011/11 (46)] [2011/12 (39)]


[2010 (676)] [2011 (586)] [2012 (976)] [2013 (538)]