source/ti83plus.inc
changeset 41 9ef17625274f
parent 39 4651e87022c7
child 42 adad2f097dcb
equal deleted inserted replaced
40:ba7bd14b7d7b 41:9ef17625274f
    79 _JForceCmd		equ 402Ah ;
    79 _JForceCmd		equ 402Ah ;
    80 _sysErrHandler		equ 402Dh ;loads error context? sp=(onSP)
    80 _sysErrHandler		equ 402Dh ;loads error context? sp=(onSP)
    81 _newContext		equ 4030h ;(kbdKey)=0, loads context, restores page in 4000h-7fffh
    81 _newContext		equ 4030h ;(kbdKey)=0, loads context, restores page in 4000h-7fffh
    82 _newContext0		equ 4033h ;loads context
    82 _newContext0		equ 4033h ;loads context
    83 _cxPutAway		equ 4036h ;
    83 _cxPutAway		equ 4036h ;
    84 _cxPutAway2		equ 4039h ;same but also does a B_CALL CanAlphIns
    84 _cxPPutAway2		equ 4039h ;same but also does a B_CALL CanAlphIns
    85 _cxPPutAway		equ 403Ch
    85 _cxPPutAway		equ 403Ch
    86 _cxSizeWind		equ 403Fh
    86 _cxSizeWind		equ 403Fh
    87 _cxErrEP		equ 4042h
    87 _cxErrEP		equ 4042h
    88 _cxMain			equ 4045h
    88 _cxMain			equ 4045h
    89 _monErrHand		equ 4048h ;installs errorhandler to start of ROM call, loads error context, jumps to mon
    89 _monErrHand		equ 4048h ;installs errorhandler to start of ROM call, loads error context, jumps to mon
  1931 savedArcInfo		equ 8406h
  1931 savedArcInfo		equ 8406h
  1932 appInfo			equ 8432h
  1932 appInfo			equ 8432h
  1933 appBank_jump		equ 843Ch
  1933 appBank_jump		equ 843Ch
  1934 appPage			equ 843Eh
  1934 appPage			equ 843Eh
  1935 kbdScanCode		equ 843Fh
  1935 kbdScanCode		equ 843Fh
       
  1936 repeatedKey		equ	8440h
       
  1937 initialRepeatedKey	equ	8441h
       
  1938 keyRepeatTicks	equ	8442h
       
  1939 keyRepeatSubTicks	equ 8443h
  1936 kbdKey			equ 8444h
  1940 kbdKey			equ 8444h
  1937 kbdGetKy		equ 8445h
  1941 kbdGetKy		equ 8445h
  1938 keyExtend		equ 8446h
  1942 keyExtend		equ 8446h
  1939 EXTECHO			equ keyExtend
  1943 EXTECHO			equ keyExtend
  1940 contrast		equ 8447h
  1944 contrast		equ 8447h
  1995 textShadAlph		equ 858Bh
  1999 textShadAlph		equ 858Bh
  1996 textShadIns		equ 858Ch
  2000 textShadIns		equ 858Ch
  1997 mcxMain			equ 858Dh
  2001 mcxMain			equ 858Dh
  1998 mcxPPutAway		equ 858Fh
  2002 mcxPPutAway		equ 858Fh
  1999 mcxPutAway		equ 8591h
  2003 mcxPutAway		equ 8591h
       
  2004 mcxRedisp		equ	8593h
  2000 mcxErrorEP		equ 8595h
  2005 mcxErrorEP		equ 8595h
  2001 mcxSizeWind		equ 8597h
  2006 mcxSizeWind		equ 8597h
  2002 mcxPage			equ 8599h
  2007 mcxPage			equ 8599h
  2003 mcxCurApp		equ 859Ah
  2008 mcxCurApp		equ 859Ah
  2004 mcxPrev			equ 859Bh ;12 bytes are shadows of cxMain through cxCurApp and appFlags
  2009 mcxPrev			equ 859Bh ;12 bytes are shadows of cxMain through cxCurApp and appFlags
       
  2010 cxPrevRedisp	equ	85A1h
       
  2011 cxPrevErrorEP	equ	85A3h
       
  2012 cxPrevPage		equ	85A7h
       
  2013 cxPrevApp		equ	85A8h
  2005 monQH			equ 85AAh
  2014 monQH			equ 85AAh
  2006 monQT			equ 85ABh
  2015 monQT			equ 85ABh
  2007 monQueue		equ 85ACh
  2016 monQueue		equ 85ACh
  2008 onSP			equ 85BCh
  2017 onSP			equ 85BCh
  2009 RAMChecksum		equ	85BEh
  2018 RAMChecksum		equ	85BEh
  2410 ansFlags		equ 1
  2419 ansFlags		equ 1
  2411 AnsScroll		equ 3		;1=answer can scroll, seems must be reset in order to move about edit buffer
  2420 AnsScroll		equ 3		;1=answer can scroll, seems must be reset in order to move about edit buffer
  2412 
  2421 
  2413 monFlags		equ 1h	 ;monitor flags
  2422 monFlags		equ 1h	 ;monitor flags
  2414 monAbandon		equ 4		;1=don't start any long process in put away (#715)
  2423 monAbandon		equ 4		;1=don't start any long process in put away (#715)
       
  2424 monAppInit		equ 5		;1=application is being initialized
  2415 ;----------------------------------------------------------------------
  2425 ;----------------------------------------------------------------------
  2416 plotFlags		equ 2h	;plot generation flags
  2426 plotFlags		equ 2h	;plot generation flags
  2417 allowCursor		equ 0		;0=call _CursorOff in _Mon
  2427 allowCursor		equ 0		;0=call _CursorOff in _Mon
  2418 plotLoc 		equ 1		;0=bkup & display, 1=display only
  2428 plotLoc 		equ 1		;0=bkup & display, 1=display only
  2419 plotDisp		equ 2		;1=plot is in display, 0=text in display, this also indicates whether graph is being shown or not
  2429 plotDisp		equ 2		;1=plot is in display, 0=text in display, this also indicates whether graph is being shown or not
  2464 prgmFlags			equ 9h		;program editor flags
  2474 prgmFlags			equ 9h		;program editor flags
  2465 prgmEdit			equ 0		;1=in program editor
  2475 prgmEdit			equ 0		;1=in program editor
  2466 
  2476 
  2467 onFlags 			equ 9h		;on key flags
  2477 onFlags 			equ 9h		;on key flags
  2468 parseInput			equ 1		;1=parse input when done, also known as prgmEval
  2478 parseInput			equ 1		;1=parse input when done, also known as prgmEval
  2469 clrScrnOnPowerOff	equ 2		;1=clear screen on power off
  2479 onClearScrn			equ 2		;1=[OFF] clears "Mem cleared" message
  2470 onRunning			equ 3		;1=calculator is running
  2480 onRunning			equ 3		;1=calculator is running
  2471 onInterrupt			equ 4		;1=on key interrupt request
  2481 onInterrupt			equ 4		;1=on key interrupt request
  2472 
  2482 
  2473 statFlags			equ 9h	;statistics flags
  2483 statFlags			equ 9h	;statistics flags
  2474 ;unknown			equ 5		;unknown
  2484 ;unknown			equ 5		;unknown
  2574 write_on_graph		equ 4		;1 = TEXT OR EQU WRITING TO GRAPH SCREEN
  2584 write_on_graph		equ 4		;1 = TEXT OR EQU WRITING TO GRAPH SCREEN
  2575 g_style_active		equ 5		;1 = GRAPH STYLES ARE ENABLED, USE THEM
  2585 g_style_active		equ 5		;1 = GRAPH STYLES ARE ENABLED, USE THEM
  2576 cmp_mod_box		equ 6		;1 = DOING MOD BOX PLOT COMPUTATION
  2586 cmp_mod_box		equ 6		;1 = DOING MOD BOX PLOT COMPUTATION
  2577 textWrite		equ 7
  2587 textWrite		equ 7
  2578 ;----------------------------------------------------------------------
  2588 ;----------------------------------------------------------------------
  2579 newIndicFlags		equ 15h
  2589 newIndicFlags	equ 15h
  2580 extraIndic		equ 0
  2590 extraIndic		equ 0
  2581 saIndic			equ 1
  2591 saIndic			equ 1
  2582 ;3 has something to do with stat/list editor
  2592 
       
  2593 NEWFLAGS3		equ 15h
       
  2594 DISP_ALT_STATS	equ 3		;1 = USE ALTERNATE LIST OF STAT RESULTS FOR SOME COMMANDS
       
  2595 
       
  2596 GSFLAG2			equ 15h
       
  2597 GR_ABOVE_BELOW	equ 4		;1 = GRAPHED ABOVE/BELOW STYLE, NO PAN
  2583 ;----------------------------------------------------------------------
  2598 ;----------------------------------------------------------------------
  2584 interruptFlags		equ 16h
  2599 interruptFlags		equ 16h
  2585 secondTimerEnabled	equ 0		;1 = second hardware timer enabled
  2600 secondTimerEnabled	equ 0		;1 = second hardware timer enabled
  2586 batteryFlags		equ 16h
  2601 batteryFlags		equ 16h
  2587 safeFromOnKey	equ	1
  2602 safeFromOnKey	equ	1
  2616 ;----------------------------------------------------------------------
  2631 ;----------------------------------------------------------------------
  2617 ;There is a flag 1Ch (stats-related).
  2632 ;There is a flag 1Ch (stats-related).
  2618 ;----------------------------------------------------------------------
  2633 ;----------------------------------------------------------------------
  2619 rclFlag3			equ 1Dh
  2634 rclFlag3			equ 1Dh
  2620 recallingListName	equ 1
  2635 recallingListName	equ 1
  2621 ;----------------------------------------------------------------------
  2636 
  2622 ;There is a flag 1Eh.
  2637 VERTFLAG2		equ 1Dh
       
  2638 NEED_BUFCPY		equ 6		;1 = GRBUFCPY NEEDED, VERT MODE ONLY
       
  2639 NEED_RETABLE	equ 7		;1 = NEED TO REDISP TABLE IN VERT MODE
       
  2640 ;----------------------------------------------------------------------
       
  2641 SolvedFlag		equ 1Eh
       
  2642 HaveEqual		equ 0		;1 = have '=' key (tsolveequal)
  2623 ;----------------------------------------------------------------------
  2643 ;----------------------------------------------------------------------
  2624 varTypeMask		equ 1Fh
  2644 varTypeMask		equ 1Fh
  2625 varGraphRef		equ 6
  2645 varGraphRef		equ 6
  2626 
  2646 
  2627 graphFlags2		equ 1Fh
  2647 graphFlags2		equ 1Fh