Post Reply 
Time Module clone - first light
07-22-2017, 06:43 AM (This post was last modified: 07-22-2017 06:49 AM by Ángel Martin.)
Post: #8
RE: Time Module clone - first light
(07-21-2017 09:48 PM)Monte Dalrymple Wrote:  Debugging is VERY slow-going, because I can only look at a couple of internal signals at a time, and I have to recompile the design each time I change a signal I want to look at. Speaking of which, is there any existing software that will let me peek and poke 41C peripheral registers? The peek and poke functions that I wrote for the CL only work with CL peripheral registers, and It would be really nice to be able to directly access the timer registers while I'm debugging.

My first thought is just enabling the Time module ([ENTMR] at 0x50E2) and use the same code you have to access registers on the CL chip. I don't remember how many registers does the Time module have, but that"s documented somewhere (I think you already have those; reading some of your previous posts).

PS. Just checked Poul Kaarup's "programmers handbook", which has a very nice summary in pages #22 & #23

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Time Module clone - first light - Ángel Martin - 07-22-2017 06:43 AM

User(s) browsing this thread: 1 Guest(s)