Hi good afternoon.
how can you delete the screen in textmods and set the cursor to x0-y0 at vic20 in asm?
Thank you.
greeting
how can you delete the screen in textmods and set the cursor to x0-y0 at vic20 in asm?
Moderator: Moderators
- Mike
- Herr VC
- Posts: 4901
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Re: how can you delete the screen in textmods and set the cursor to x0-y0 at vic20 in asm?
Please stop wasting other people's time by asking questions you already know the answer of.funkheld wrote:how can you delete the screen in textmods and set the cursor to x0-y0 at vic20 in asm?
Re: how can you delete the screen in textmods and set the cursor to x0-y0 at vic20 in asm?
I don't know of any solution in asm that works with TRSE to set the text cursor to x0 and y0.
you're confusing something
greeting
you're confusing something
greeting
- Mike
- Herr VC
- Posts: 4901
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Re: how can you delete the screen in textmods and set the cursor to x0-y0 at vic20 in asm?
Both screen clear and cursor positioning are provided by KERNAL calls that can be found in the Programmer's Reference Guide. For sure they can both be implemented in TRSE if they not already have been.funkheld wrote:I don't know of any solution in asm that works with TRSE to set the text cursor to x0 and y0.
Doesn't hurt if you consult the documentation and work out a solution by yourself instead of having handed it here to you on a silver platter.
- AndyH
- Vic 20 Afficionado
- Posts: 380
- Joined: Thu Jun 17, 2004 5:51 am
- Website: https://www.hewco.uk
- Location: UK
- Occupation: Developer
Re: how can you delete the screen in textmods and set the cursor to x0-y0 at vic20 in asm?
No kernal support in the language out of the box, but nothing to stop you from doing that yourself with inline assembler.
There is a clearscreen method and you can set the built in pointer screenmemory := SCREEN_CHAR_LOC; which will put the pointer to the top left for further writing. Not the cursor though, not tried to use any of that side of things yet.
There is a clearscreen method and you can set the built in pointer screenmemory := SCREEN_CHAR_LOC; which will put the pointer to the top left for further writing. Not the cursor though, not tried to use any of that side of things yet.