Subversion Repositories MB01 Project

Rev

Blame | Last modification | View Log | Download | RSS feed

  Tue Jul 17 11:00:15 2018                                                                                               Page    1







          2500 A.D. 65816 Macro Assembler #26960 - Version 5.02g
          -----------------------------------------------------

                       Input  Filename : src\F8\lcd.asm
                       Output Filename : obj\F8\lcd.obj
                       Listing Has Been Relocated                               


 2592                           .LIST           on
 2593                           
 2594  F8FFB1                           .INCLUDE inc\dirp01.inc
 2595                           ;----------------------------------------------------------
 2596                           ; DIRP02.ASM
 2597                           ; PROGETTO: B1601
 2598                           ;
 2599                           ; Variabili in Direct Page $01
 2600                           ;----------------------------------------------------------
 2601                           
 2602                           ; sezione COMMON -- questo permette di includere il file in piu' file
 2603                           
 2604                           
 2605                           .LIST on
 2606                           
 2607          000060           KBDBUFLEN       .EQU    96              ; dimensione buffer di tastiera
 2608                           
 2609                           DIRP01: .SECTION page0, ref_only, common        ;Direct-Page 01
 2610                           
 2611  000000                           .ABSOLUTE               ;; inizia sempre da $00
 2612  000000                           .ORG            0x00
 2613                           
 2614  000000                           
 2615  000000                   KbdBuf          .DS     KBDBUFLEN       ; buffer della tastiera
 2616  000060  00               KbdITail        .DB                     ; coda buffer tastiera
 2617  000061  00               KbdIHead        .DB                     ; testa buffer tastiera
 2618  000062  00               KbdCnt          .DB                     ; numero bytes nel buffer
 2619  000063  00               KbdShift        .DB
 2620  000064  00               KbdFlag         .DB
 2621  000065  00               KbdToggle       .DB
 2622  000066  00               KbdSt           .DB                     ; status tastiera dopo reset
 2623  000067  00               PS2Ctl          .DB                     ; flag controller PS2 keyboard
 2624                           
 2625  000068  00               LCDFlag         .DB
 2626  000069  00               LCDTmp          .DB
 2627  00006A  0000             LCDVal          .DW
 2628                           
 2629  00006C  00               VBBFlag         .DB             ; flag video board
 2630  00006D  00               VBBRam          .DB             ; flag video RAM
 2631                           
 2632  00006E  00               ScnLinTmp       .DB
 2633  00006F  00               ScnChBase       .DB             ; base video ram VDC
 2634  000070  00               ScnAttBase      .DB             ; base ram attributi VDC
 2635  000071  00               ScnCursMode     .DB             ; VDC cursore default
 2636  000072  00               ScnSaveAttr     .DB
 2637  000073  00               ScnInsert       .DB
  Tue Jul 17 11:00:15 2018                                                                                               Page    2




 2638  000074  00               ScnAutoIns      .DB             ; bit 7 -> autoins - bit 6 -> modo input
 2639  000075  00               ScnScroll       .DB
 2640  000076  00               ScnMaxRow       .DB             ; max. righe finestra (-1)
 2641  000077  00               ScnMaxCols      .DB             ; max. colonne finestra (-1)
 2642                           
 2643  000078                   ScnMapTabs1     .DS     10
 2644  000082                   ScnMapTabs2     .DS     4
 2645  000086                           
 2646  000086  0000             ScnPtr          .DW             ; puntatore video ram linea corrente
 2647  000088  00                               .DB
 2648                           
 2649  000089  00               ScnFiltLen      .DB             ; lunghezza set caratteri filtro
 2650                           
 2651  00008A  0000             ScnAtPtr        .DW             ; puntatore attributi ram linea corrente
 2652  00008C  00                               .DB
 2653                           
 2654  00008D  00               ScnTmpx         .DB             ; temporaneo: durante put char
 2655  00008E                                   
 2656  00008E  00               ScnTop          .DB             ; riga superiore finestra
 2657  00008F  00               ScnLeft         .DB             ; colonna sinistra finestra
 2658  000090  00               ScnBottom       .DB             ; riga inferiore finestra
 2659  000091  00               ScnRight        .DB             ; colonna destra finestra
 2660  000092  00               ScnAttr         .DB             ; attributo default
 2661  000093  00               ScnAttr2        .DB             ; attributo alternativo
 2662  000094  00               ScnRow          .DB             ; riga cursore
 2663  000095  00               ScnCol          .DB             ; colonna cursore
 2664  000096  00               ScnRowStart     .DB             ; riga di start input 
 2665  000097  00               ScnInput        .DB             ; riga di fine input 
 2666  000098  00               ScnColStart     .DB             ; colonna di start input 
 2667  000099  00               ScnSaveX        .DB
 2668  00009A  00               ScnSaveY        .DB
 2669  00009B  00               ScnTmpL         .DB
 2670  00009C  00               ScnTmpH         .DB
 2671  00009D  00               ScnSaveRow      .DB
 2672  00009E  00               ScnSaveCol      .DB
 2673  00009F  00               ScnCurChr       .DB
 2674  0000A0  00               ScnLstChr       .DB
 2675  0000A1  00               ScnCR           .DB
 2676  0000A2  0000             ScnPrm          .DW             ; puntatore long utilizzato da print imm
 2677  0000A4  00                               .DB             ; banco puntatore ScnPrm
 2678  0000A5  00               ScnMode         .DB             ; flag modo schermo
 2679                           
 2680  0000A6                   ScnPtr1         LP
 2681                           
 2682  0000A9  00               ScnDefCol       .DB             ; default foreground color
 2683                           
 2684  0000AA                   ScnPtr2         LP
 2685                           
 2686  0000AD  00               ScnDefBkgCol    .DB             ; default background color
 2687  0000AE  00               ScnInpRow       .DB             ; modo input line: riga start input
 2688  0000AF  00               ScnInpCol       .DB             ; modo input line: colonna start input
 2689  0000B0  00               ScnLstRow       .DB             ; modo input line: riga stop input
 2690  0000B1  00               ScnLstCol       .DB             ; modo input line: colonna stop input
 2691  0000B2  00               ScnFlag         .DB             ; Bit 7: input line - Bit 6: input riga unica
 2692  0000B3  00               ScnMask         .DB             ; flag tasti funzione editor di linea
 2693  0000B4  00               ScnFilt         .DB             ; filtro tasti editor di linea
 2694  0000B5  00               ScnCntrl        .DB             ; flag ASCII/CONTROL
  Tue Jul 17 11:00:15 2018                                                                                               Page    3




 2695                           ;DflTxtIn       .DB             ; device di default text input 
 2696                           ;DflTxtOut      .DB             ; device di default text output
 2697  0000B6                           
 2698          000047           SCNCLRLEN       .EQU    ($ - ScnLinTmp - 1)
 2699                           
 2700                           ;SCNCLRLEN      .EQU    (DflTxtOut - ScnLinTmp)
 2701                           
 2702                           ; variabili monitor
 2703  0000B6  00               SMAddrL         .DB     ; address low/high
 2704  0000B7  00               SMAddrH         .DB
 2705  0000B8  00               SMAddrK         .DB     ; address bank
 2706  0000B9  00               SMFlag32        .DB     ; flag parametro 32 bit
 2707  0000BA  00               SMTmpL          .DB     ; temp. low/high
 2708  0000BB  00               SMTmpH          .DB
 2709  0000BC  00               SMTmpK          .DB     ; temp. bank
 2710  0000BD  00               SMTmpKK         .DB     ; high byte param. 32 bit
 2711  0000BE  00               SMSizeL         .DB     ; size low/high
 2712  0000BF  00               SMSizeH         .DB
 2713  0000C0  00               SMSizeK         .DB     ; size bank
 2714  0000C1  00               SMXAddrL        .DB     ; address low/high XM
 2715  0000C2  00               SMXAddrH        .DB
 2716  0000C3  00               SMXAddrK        .DB     ; address bank XM
 2717  0000C4  00               SMbndx          .DB     ; indice input buffer
 2718  0000C5  00               SMnprm          .DB     ; numero parametri riga di comando
 2719  0000C6  00               SMdumb          .DB
 2720  0000C7  00               SMkr            .DB
 2721  0000C8  0000             SMpc            .DW
 2722  0000CA  00               SMsr            .DB
 2723  0000CB  00               SMbr            .DB
 2724  0000CC  0000             SMdp            .DW
 2725  0000CE  0000             SMac            .DW
 2726  0000D0  0000             SMxr            .DW
 2727  0000D2  0000             SMyr            .DW
 2728  0000D4  0000             SMsp            .DW
 2729                           
 2730  0000D6  00               SMAuxL          .DB
 2731  0000D7  00               SMAuxH          .DB
 2732                           
 2733  0000D8  00               asmlong         .DB     ; flag for CPU in 16 mode
 2734                                                   ; <7> -> A/M in 16 bit mode
 2735                                                   ; <6> -> X/Y in 16 bit mode
 2736  0000D9  00               asmcpu          .DB     ; <7> -> 8 bit family
 2737                                                   ; <6> -> 65C02 cmos version
 2738                           
 2739  0000DA  00               SMctx           .DB     ; context (if = $00 no quit command)
 2740  0000DB                   SMrsm           LP      ; long pointer to resume caller context
 2741                           
 2742  0000DE  00               rtcadr          .DB     ; rtc internal ram address
 2743  0000DF  00               rtcbnk          .DB     ; RTC internal bank ram
 2744  0000E0  00               cmdlin          .DB     ;
 2745  0000E1  00               SMesc           .DB
 2746                           
 2747  0000E2                   SMXTmp:         .DS     26      ; 26 bytes tmp
 2748                           
 2749          0000E2           SMTmp2          .EQU    SMXTmp
 2750          0000E4           SMTmp3          .EQU    SMXTmp+2
 2751          0000E6           SMdwTmp1        .EQU    SMXTmp+4
  Tue Jul 17 11:00:15 2018                                                                                               Page    4




 2752          0000EA           SMdwTmp2        .EQU    SMXTmp+8
 2753          0000EE           SMFsrc          .EQU    SMXTmp+12       ; source bank for flash update
 2754          0000EF           SMFflag         .EQU    SMXTmp+13       ; flag file for flash update
 2755          0000F0           SMXPos2         .EQU    SMXTmp+14
 2756          0000F1           SMYPos2         .EQU    SMXTmp+15
 2757          0000F2           SMXPos3         .EQU    SMXTmp+16
 2758          0000F3           SMYPos3         .EQU    SMXTmp+17
 2759                           ;SMAuxL         .EQU    SMXTmp+18
 2760                           ;SMAuxH         .EQU    SMXTmp+19
 2761          0000F6           SMXPos          .EQU    SMXTmp+20
 2762          0000F7           SMYPos          .EQU    SMXTmp+21
 2763          0000F8           SMdwTmp3        .EQU    SMXTmp+22
 2764                           
 2765          0000E2           atcmd           .EQU    SMXTmp          ; save @ command
 2766          0000E3           atnum           .EQU    SMXTmp+1        ; @ command index
 2767          0000E4           atflag          .EQU    SMXTmp+2        ; @ L,S,V,R,W start address flag
 2768          0000E5           atbnk           .EQU    SMXTmp+3        ; @ L,S,V,R,W bank
 2769          0000E6           atstr           .EQU    SMXTmp+4        ; @ command string start (word)
 2770          0000E8           atstart         .EQU    SMXTmp+6        ; @ L,S,V,R,W start address (word)
 2771          0000EA           atend           .EQU    SMXTmp+8        ; @ S,W end address (word)
 2772          0000EC           atbuf           .EQU    SMXTmp+10       ; @ local buffer pointer (word)
 2773          0000EE           atipb           .EQU    SMXTmp+12       ; @ bank of input buffer
 2774          0000EF           atdir           .EQU    SMXTmp+13       ; @ load dir flag
 2775          0000F0           atptr           .EQU    SMXTmp+14       ; @ load dir pointer (word)
 2776          0000F2           atsiz           .EQU    SMXTmp+16       ; @ buffer size (word) 
 2777          0000F5           atlp            .EQU    SMXTmp+19       ; @ long pointer
 2778          0000F8           atsa            .EQU    SMXTmp+22       ; @ sa
 2779                           
 2780          0000E2           btmpx           .EQU    SMXTmp          ; asc2bin conversion
 2781          0000E3           brtcsec         .EQU    SMXTmp+1
 2782          0000E4           brtcmin         .EQU    SMXTmp+2
 2783          0000E5           brtchour        .EQU    SMXTmp+3
 2784          0000E6           brtcday         .EQU    SMXTmp+4
 2785          0000E7           brtcmonth       .EQU    SMXTmp+5
 2786          0000E8           brtcyear        .EQU    SMXTmp+6
 2787          0000E9           brtcct          .EQU    SMXTmp+7
 2788                           
 2789                           
 2790  0000FC                           .RELATIVE
 2791                           
 2792                                   .ENDS
 2793                           


             Lines Assembled : 3506                  Errors : 0