If you have a PH account, you can customize your PH profile.
*/
*/

View BNL_5X7\MEMORY.ASM

BANEL 5x7

Submitted By: jaroban
Rating: Not rated (Rate It)


; version 1.0

; digits_o and digits_n structure:
;  +0 right character 1st column
;  +1 left character 1st column
;  +2 mask
;  ...
;  +12 right character 5st column
;  +13 left character 5st column
;  +14 mask

polarity_pin            bit     p0.5

                        dseg at 8
wd_cnt:                 ds      1
timer_no:               ds      1
brick_top:              ds      1
brick_next:             ds      1
thread_id:              ds      1
to_kill:                ds      1

reload_lo:              ds      1
reload_hi:              ds      1

digits_o:               ds      15      ; order is important (timer1_int)
col_no_o:               ds      1
col_ind_o:              ds      1

bits1:                  ds      1
bits2:                  ds      1
inputs:                 ds      1

digits_n:               ds      15
col_no_n:               ds      1
col_ind_n:              ds      1

bcd_inputs:             ds      1
data_cnt:               ds      1
clock_cnt:              ds      1
pol_index:              ds      1
pol_table:              ds      5
pol_table_old:          ds      5

timer_table:            ds      no_of_timers*4

brick_floor            equ     $
brick_ceiling          equ     255

wrote_old               bit     bits1.0
going_up_o              bit     bits1.1
going_dn_o              bit     bits1.2
going_up_n              bit     bits1.3
going_dn_n              bit     bits1.4
clock_old               bit     bits1.5

data_pin                bit     inputs.0
clock_pin               bit     inputs.1

                        cseg

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.
Resource Listings