edit · history · upload · logout · print

PC.DevState History

Hide minor edits - Show changes to markup

April 26, 2007, at 01:28 AM by Pierre -
Changed lines 35-38 from:

With this solution I have direct link between the declaration of the builder and the program constant.

to:

With this solution I have a direct link between the declaration of the builder and the program constant.

For example, to call the state 2 of MYWATCH (mwaset.asm) I use :

Changed lines 39-40 from:
  ld      B, #CORESTATE2
  CORE_REQ_STATE_CHANGE
to:

ld B, #CORESTATE2
CORE_REQ_STATE_CHANGE

Added lines 42-45:
April 26, 2007, at 01:24 AM by Pierre -
Changed lines 35-38 from:

With this solution I have :
a between the declaration of the builder
correspondance

to:

With this solution I have direct link between the declaration of the builder and the program constant.

Added lines 39-42:

(:source lang=S1C88 :)

  ld      B, #CORESTATE2
  CORE_REQ_STATE_CHANGE

(:sourcend:)

April 26, 2007, at 01:20 AM by Pierre -
Added lines 39-40:
April 26, 2007, at 01:19 AM by Pierre -
Changed lines 1-13 from:

States

This application simulate the watch.
You can :

  • Simulate the watch
  • Load wristapp
  • Load periodic task
  • Display ROM / RAM / EEPROM content
  • Display the system data
  • CPU windows
  • Breakpoints
  • ...
to:

States : An other way to use them

For a long time I use the state like there are described in the Timex documentation.

When I start working on MYWATCH I found this method not very easy to use when you want to use a lot of states.
I decided to use the declarations below:

Changed lines 33-38 from:

(:sourcend:)

to:

(:sourcend:)

With this solution I have :
a between the declaration of the builder
correspondance

April 26, 2007, at 01:06 AM by Pierre -
Added lines 1-40:

States

This application simulate the watch.
You can :

  • Simulate the watch
  • Load wristapp
  • Load periodic task
  • Display ROM / RAM / EEPROM content
  • Display the system data
  • CPU windows
  • Breakpoints
  • ...

(:source lang=S1C88 :)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; BASIC STATE INDEX
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

CORESTATE0 EQU 00H ; Mode Banner State index
CORESTATE1 EQU 01H ; Default State index
CORESTATE2 EQU 02H ; Set State
CORESTATE3 EQU 03H ; Set State n2
CORESTATE4 EQU 04H ; Start State
CORESTATE5 EQU 05H ; Stop State
CORESTATE6 EQU 06H ; Minute rollover State
CORESTATE7 EQU 07H
CORESTATE8 EQU 08H
CORESTATE9 EQU 09H
CORESTATE10 EQU 0AH
CORESTATE11 EQU 0BH
CORESTATE12 EQU 0CH
CORESTATE13 EQU 0DH
CORESTATE14 EQU 0EH
CORESTATE15 EQU 0FH
CORESTATE16 EQU 10H
CORESTATE17 EQU 11H
CORESTATE18 EQU 12H
CORESTATE19 EQU 13H
CORESTATE20 EQU 14H
(:sourcend:)

edit · history · upload · logout · print
Page last modified on April 26, 2007, at 01:28 AM