This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Z80 & 68k Assembly => z80 & ez80 Assembly
Author Message
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 12 Aug 2008 06:51:32 am    Post subject:

I assume RLD and RRD change A as they should and leave (HL) what it was when HL is pointing to the flash (data inside my application in my case). Last time I assumed something I ended up resending the OS to my calculator so I'm asking whether I got it right this time, just to be sure.
Back to top
luby
I want to go back to Philmont!!


Calc Guru


Joined: 23 Apr 2006
Posts: 1477

Posted: 12 Aug 2008 09:12:32 am    Post subject:

It should... I'd try it on an emulator first though.
Back to top
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 12 Aug 2008 09:40:08 am    Post subject:

I always try it first on tilem, but it seems tilem isn't always correct when flash memory is involved.
Back to top
Cryzbl


Newbie


Joined: 20 Jun 2008
Posts: 46

Posted: 12 Aug 2008 01:41:40 pm    Post subject:

The emulator will only behave as it is told. So you're never going to be sure that if something works on an emulator it'll work on real hardware. Especially concerning side effects like these :P

But I highly doubt that will mess anything up.
Though I once succeeded into making TIOS believe that its RAM was broken on PindurTI xD
Back to top
TheStorm


Calc Guru


Joined: 17 Apr 2007
Posts: 1233

Posted: 12 Aug 2008 01:50:07 pm    Post subject:

I think PTI or Wabbit EMU would be your best bet here since they have some of the truest to hardware emulation.
Back to top
Taricorp


Member


Joined: 09 Mar 2006
Posts: 188

Posted: 12 Aug 2008 06:37:18 pm    Post subject:

It could go either way. The CPU of course will assert HL on the address bus, and it will try to write back on the data bus.

It all depends on how the Flash-related hardware handles attempted writes when Flash is locked (which I'm sure no one has experimented with/documented).
Basically, it'll either crash or work fine, and it might not work the same way on all hardware.
Back to top
Cryzbl


Newbie


Joined: 20 Jun 2008
Posts: 46

Posted: 13 Aug 2008 06:59:27 pm    Post subject:

Writing to locked flash won't do anything bad... That would be stupid. However this is TI we're talking about... Razz
Back to top
Igrek


Member


Joined: 23 Aug 2007
Posts: 151

Posted: 16 Aug 2008 05:45:54 am    Post subject:

I didn't use it after all because I could easily avoid it, and I don't want people who use a n-spire complaining if TI screwed up.
Back to top
Spencer


Advanced Newbie


Joined: 06 Nov 2005
Posts: 99

Posted: 16 Aug 2008 05:52:30 am    Post subject:

For reference, yes you can use RRD/RLD in that way. Writing to a locked flash address is harmless and RLD is a convenient way to get the upper nibble of (HL) into A.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement