arudzki Posted October 6, 2010 Share Posted October 6, 2010 All, I suspect I already know the answer, but: If you're developing hardware for the 8bit, for example, an A/D converter and you put the circuit into a cartridge. To write the code to test it, you need to write a display interface to display the results of your read, correct? In other words, there isn't an interface like an ICE to be able to check values or single step and examine register or variable values in 'real time' is there? I'm thinking that it's going to be a lot of poking and hoping.... am I right? The A/D example above was just an example. I'm thinking of something more complex, so I may have to do something where I dump registers to the screen to verify or check values... Thanks Tony Quote Link to comment Share on other sites More sharing options...
+bob1200xl Posted October 6, 2010 Share Posted October 6, 2010 Not quite sure what it is you are asking but you can just store the data into screen RAM if you don't need formatting and such. Something like START LDA ADC : STA SCREEN,y : INY :JMP START. That will show you the 'value' of the last 256 reads of the ADC. Bob All, I suspect I already know the answer, but: If you're developing hardware for the 8bit, for example, an A/D converter and you put the circuit into a cartridge. To write the code to test it, you need to write a display interface to display the results of your read, correct? In other words, there isn't an interface like an ICE to be able to check values or single step and examine register or variable values in 'real time' is there? I'm thinking that it's going to be a lot of poking and hoping.... am I right? The A/D example above was just an example. I'm thinking of something more complex, so I may have to do something where I dump registers to the screen to verify or check values... Thanks Tony Quote Link to comment Share on other sites More sharing options...
Mathy Posted October 7, 2010 Share Posted October 7, 2010 Hello Tony And if you don't want these numbers to mess up your screen, try outputting them to a second screen using for instance the XEP80 or the VBXE. sincerely Mathy Quote Link to comment Share on other sites More sharing options...
arudzki Posted October 7, 2010 Author Share Posted October 7, 2010 Actually, what I'm looking for may be DDT in the MAC/65 cart. It looks like it will allow me to single step and examine values...which is what I'm looking for. Thanks for the help. TonyR Quote Link to comment Share on other sites More sharing options...
+Stephen Posted October 8, 2010 Share Posted October 8, 2010 If you can use an emulator, most have very nice built in monitors. Some even let you run a program and record every instruction and cycle time to a file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.