Bertho: The log2phy program doesn't alter the user's code, only the addresses (as you stated it should!). Please send me, off list, your ".phy" file and your ".s19" files. Also, you mentioned that your debugger "sort of works". What, specifically, is the problem your experiencing...? Cheers, Mark P&E bertho_b wrote: > --- In , "Mark Cukier" <mark@p...> wrote: > > Hello: > > > > I will address your points as best I can, one by one: > > > > Thanks Mark, Things are sort of running by now but here is an > update and new problems: > > Here is an update on my headaches: > > The issue about the assembler not understanding the .pagewidth > directive is apparently because they switched the assembler in the > last minute and P&E is working on a fix. > > First, the P&E assembler does not talk the same language as their > programmer as you mentioned. I have been reading about the logical > to physical translation needed if paging is used but since I > carefully keep my simple test program to one map and stay away from > the swap page at $8000 I thought it would be OK. > > I expected, and still expect, that I should be able to click > the Icon for assemble, then the Icon for programming and then the > debug icon. > No such luck! After fooling around with all kinds of testing and > talking to P&E, they have been very helpful, I learned that I had to > use the Logical to Physical converter program before programming. > > After downloading Log2Phy and installing it and converting the S19 > files, it got a lot better but there is also something else going on > that after programming, just starting the debugger will not > necessarily work. I need to, at least sometimes, do a hard reset or > two. > > Now, my system is sort of limping along and a little confidence is > building up and then......... > > At several places in my source I have "LDAA #$04" for example. > While debugging my code, it read loaded A with 4, not 5. First I > thought that there was a corrupt copy in memory but after reloading, > the same result. > > Eventually, I isolated the problem to the Log2Phy converter. I > really do not understand how it can happen but you can see the > result on the little file below. > > The first 7 times a LDAA # is encountered, it translates it > correctly but next 6 times is is one count short. Then 3 good ones. > The translator should not mess with the code at all! Just the > addresses. > > Am I doing something really stupid or what? > Hopefully, the text below will show up correctly as long as it is in > mono-spaced font. > > TIA for any suggestions, > Bertho Boman > > The original file line is followed by the converted line by Log2Phy. > I have marked the places where LDAA #nn occurred, > for example "$86 05" > > In the beginning they are translated correctly but > later they are one short and then OK again. > > S113 4000 1410CF2FFF790001180BFF00031640AE E8 > S214 0F8000 1410CF2FFF790001180BFF00031640AE 98 > > S113 4010 180BFF000186057A100086047A100186 C9 > S214 0F8010 180BFF000186057A100086047A100186 79 > -OK- -OK- - > S113 4020 037A100286027A100386017A10048637 16 > S214 0F8020 037A100286027A100386017A10048637 C6 > OK -OK- -OK- -OK- > S113 4030 5ADA86505AD8CC0F011640B51640A2CC 95 > S214 0F8030 5ADA86505AD8CC0F011640B51640A2CC 45 > -OK- > S113 4040 0F001640B5CC0C011640B5CC0B041640 3D > S214 0F8040 0F001640B5CC0C011640B5CC0B041640 ED > > S113 4050 B5CC09FF1640B5CC0A031640B58605C6 93 > S214 0F8050 B5CC09FF1640B5CC0A031640B58604C6 44 > Bad! > S113 4060 0F361640B5324326F81640A28605F610 E0 > S214 0F8060 0F361640B5324326F81640A28604F610 91 > Bad! > S113 4070 001640B58604F610011640B58603F610 06 > S214 0F8070 001640B58603F610011640B58602F610 B8 > Bad! Bad! > S113 4080 021640B58602F610031640B58601F610 F6 > S214 0F8080 021640B58601B610031640B58600B610 28 > Bad! Bad! > S113 4090 041640B51640A286555A010705710001 61 > S214 0F8090 041640B51640A286555A010705710001 11 > -OK- > S113 40A0 20F9CEFFFF86104326FD0926F83DCEFF FA > S214 0F80A0 20F9CEFFFF86104326FD0926F83DCEFF AA > -OK- > S113 40B0 FF0926FD3D7900015ADD4FDB20FC5BDD 65 > S214 0F80B0 FF0926FD3D7900015ADD4FDB20FC5BDD 15 > > S10F 40C0 4FDB20FC86FF5A013DA720FD C9 > S210 0F80C0 4FDB20FC86FF5A013DA720FD 79 > -OK- > S10B FFF8 40C940C940C94000 A2 > S20C 0FFFF8 40C940C940C94000 92 > > S9030000 FC > > > Click Here! > <http://ashnin.com/clk/muryutaitakenattogyo?YH313099&yhad95056" target="_blank" rel="nofollow">http://rd.yahoo.com/M$4522.3313099.4604523.1261774/D=egroupweb/S06554205:HM/A95056/R=0/SIG4fv1soh/*http://ashnin.com/clk/muryutaitakenattogyo?YH313099&yhad95056 > > -------------------- > > ">http://docs.yahoo.com/info/terms/>. -- ________________________________ Mark L. Cukier, Design Engineer P&E Microcomputer Systems 710 Commonwealth Avenue Boston, MA 02215 ______________________________ e-mail: phone : (617) 353-9206 x19 fax : (617) 353-9205 ______________________________ visit us on the web at: http://www.pemicro.com |