Re: ROM-functions & internal RAM
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <00d401c3e75d$c31cb880$764000b4@kardis> |
The startup file is right...location 6B has the scheduler timer reload value. The User's Guide needs to be fixed. Kris ----- Original Message ----- From: "Bernard" <[email protected]> To: "Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]> Cc: "TINI" <tini-6tN4nzCoH/[email protected]> Sent: Friday, January 30, 2004 11:33 AM Subject: Re: [TINI]ROM-functions & internal RAM > Thanks very much! > But I don't know who I ought to believe: > - startup400.a51 writes: > " org 68H > wos_crit_count: DSB 1" > - High-Speed Microcontroller User's Guide: DS80C400 Supplement page 195 > writes: > "entercritsection - enter critical section. This function increments the > variable wos_crit_count located in direct data memory at addres 6Bh." > > 68 or 6B? Where is the true? > > Bernard > > > > There are a number of internal locations declared in startup400.a51--these > > are the ones that are used by the ROM. > > > > Kris > > > > ----- Original Message ----- > > From: "Bernard" <[email protected]> > > To: <tini-6tN4nzCoH/[email protected]> > > Sent: Friday, January 30, 2004 3:33 AM > > Subject: [TINI]ROM-functions & internal RAM > > > > > > > Dear TINI Authors and Users, > > > > > > Some ROM-functions destroy internal (scratchpad) RAM. I know, "rom_init" > > > function clears direct and indirect RAM (scratchpad) 00h-FFh. > > > But after using "rom_init" ! : are there any areas of 00h-FFh internal > > > memory (excluding SFR) that are not distroyed by anoher ROM-functions > and > > > are "safe" for using by user? > > > (For example: "entercritsection" and "leavecritsection" functions change > > > memory at address 6Bh.) > > > > > > Regards > > > Bernard > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini