[TI ASM] I'm so lazy! Getting _iLine to draw to buffer only
Moderator: MaxCoderz Staff
-
- Extreme Poster
- Posts: 340
- Joined: Fri 07 Jul, 2006 2:39 pm
[TI ASM] I'm so lazy! Getting _iLine to draw to buffer only
set 0,(iy+plotflags+3) ;0=bufferonly
That's what it says in the System Routines SDK, but it doesn't appear to be doing so...
That's what it says in the System Routines SDK, but it doesn't appear to be doing so...
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
Nope, you don't understand how it works. Most TI-OS drawing and graphics calls, by default, write to both PlotsScreen _and_ directly output to the LCD, or jus toutput to the LCD. This can be a big headache for ASM programmers, and flags like the flags in (iy+sgrflags) must be set correctly for text. This is the flag that needs to be reset for line and other graphics calls.
-
- Extreme Poster
- Posts: 340
- Joined: Fri 07 Jul, 2006 2:39 pm
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
Dude... his point was that he should make sure he's not copying the buffer to the screen himself before trying to figure out what's wrong with the flags...
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
-
- Calc King
- Posts: 1513
- Joined: Sat 05 Aug, 2006 7:22 am
kerm_martian wrote:Nope, you don't understand how it works. Most TI-OS drawing and graphics calls, by default, write to both PlotsScreen _and_ directly output to the LCD, or jus toutput to the LCD. This can be a big headache for ASM programmers, and flags like the flags in (iy+sgrflags) must be set correctly for text. This is the flag that needs to be reset for line and other graphics calls.
..dude.. if he'd somehow be copying the buffer to the LCD the flags wouldnt make a difference (it would be shown anyway, just a few T-states later) and just suppose he'd set them up right and then still left a fastcopy in?
Which is the first mistake I can think of, I probebly would have made that mistake atleast once..
So, yes I do actually understand how it works.
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact: