Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #2605 > unrolled thread

Activating Soft-Switches in Assembly

Started byalxmist@aol.com
First post2016-03-29 09:00 -0700
Last post2016-03-31 12:28 -0700
Articles 5 on this page of 25 — 10 participants

Back to article view | Back to comp.sys.apple2.programmer


Contents

  Activating Soft-Switches in Assembly alxmist@aol.com - 2016-03-29 09:00 -0700
    Re: Activating Soft-Switches in Assembly Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-03-29 15:14 -0700
    Re: Activating Soft-Switches in Assembly Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-03-29 15:28 -0700
      Re: Activating Soft-Switches in Assembly Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-03-29 15:32 -0700
        Re: Activating Soft-Switches in Assembly alxmist@aol.com - 2016-03-30 09:31 -0700
          Re: Activating Soft-Switches in Assembly Antoine Vignau <antoine.vignau@laposte.net> - 2016-03-30 10:58 -0700
            Re: Activating Soft-Switches in Assembly alxmist@aol.com - 2016-03-30 11:23 -0700
              Re: Activating Soft-Switches in Assembly D Finnigan <dog_cow@macgui.com> - 2016-03-30 18:28 +0000
                Re: Activating Soft-Switches in Assembly Michael J. Mahon <mjmahon@aol.com> - 2016-03-30 23:46 -0500
                Re: Activating Soft-Switches in Assembly mmphosis <mmphosis@macgui.com> - 2016-03-31 16:07 +0000
              Re: Activating Soft-Switches in Assembly Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-03-30 14:10 -0700
          Re: Activating Soft-Switches in Assembly gids.rs@sasktel.net - 2016-03-30 13:06 -0700
            Re: Activating Soft-Switches in Assembly Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-03-30 14:13 -0700
              Re: Activating Soft-Switches in Assembly gids.rs@sasktel.net - 2016-03-31 08:25 -0700
                Re: Activating Soft-Switches in Assembly alxmist@aol.com - 2016-03-31 08:52 -0700
                  Re: Activating Soft-Switches in Assembly Michael J. Mahon <mjmahon@aol.com> - 2016-03-31 11:30 -0500
                  Re: Activating Soft-Switches in Assembly Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-03-31 12:33 -0700
                    Re: Activating Soft-Switches in Assembly Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-03-31 12:59 -0700
                    Re: Activating Soft-Switches in Assembly Mark Calderbank <noname@test.com> - 2016-04-01 15:54 +0100
                      Re: Activating Soft-Switches in Assembly Mark Calderbank <mark@zoot.loggytronic.net> - 2016-04-01 16:36 +0100
                        Re: Activating Soft-Switches in Assembly alxmist@aol.com - 2016-04-01 09:58 -0700
                          Re: Activating Soft-Switches in Assembly Michael J. Mahon <mjmahon@aol.com> - 2016-04-01 17:07 -0500
                      Re: Activating Soft-Switches in Assembly Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-04-01 17:45 -0700
                        Re: Activating Soft-Switches in Assembly alxmist@aol.com - 2016-04-05 08:59 -0700
              Re: Activating Soft-Switches in Assembly "Michael J. Mahon" <mjmahon@aol.com> - 2016-03-31 12:28 -0700

Page 2 of 2 — ← Prev page 1 [2]


#2643

Fromalxmist@aol.com
Date2016-04-01 09:58 -0700
Message-ID<64eb23cf-b68f-4d3c-9f7c-36ca62106464@googlegroups.com>
In reply to#2642
I did some experiments last nigh, and used the CLRSCR Monitor subroutine to find it is now working great!
Is it a good idea to use these subroutines for drawing sprites/printing sentences, or should I be studying Look-Up Tables?

[toc] | [prev] | [next] | [standalone]


#2646

FromMichael J. Mahon <mjmahon@aol.com>
Date2016-04-01 17:07 -0500
Message-ID<79ydnZVaofm7bGPLnZ2dnUU7-efNnZ2d@giganews.com>
In reply to#2643
<alxmist@aol.com> wrote:
> I did some experiments last nigh, and used the CLRSCR Monitor subroutine
> to find it is now working great!
> Is it a good idea to use these subroutines for drawing sprites/printing
> sentences, or should I be studying Look-Up Tables?
> 

It depends on how fast you need to update the screen. 

For displaying a static screen, the ROM routines are fine. If you need a
little animation, they're probably still fine. If you want a lot of pixels
animated, you'll probably want to write to screen memory directly using
your own routines. 
-- 
-michael - NadaNet 3.1 and AppleCrate II:  http://michaeljmahon.com

[toc] | [prev] | [next] | [standalone]


#2647

FromMichael Pohoreski <michael.pohoreski@gmail.com>
Date2016-04-01 17:45 -0700
Message-ID<ec660660-3955-4e2f-94f6-4c6c895f936e@googlegroups.com>
In reply to#2640
On Friday, April 1, 2016 at 8:08:03 AM UTC-7, Mark Calderbank wrote:
> I would recommend against overwriting the screen holes in text page 1,
> which are reserved for use by expansion cards. For example:
> 
>     LDA #0
> L:  LDX #$77
>     STA $400,X
>     STA $480,X
>     STA $500,X
>     STA $580,X
>     STA $600,X
>     STA $680,X
>     STA $700,X
>     STA $780,X
>     DEX
>     BPL L

Yeah, that's probably best, but I've never seen any issues in practice.  Most games take over complete control of the hardware anyways -- but if you're writing a text / GR game it wouldn't hurt to do things "right" to minimize any potential issues.

[toc] | [prev] | [next] | [standalone]


#2656

Fromalxmist@aol.com
Date2016-04-05 08:59 -0700
Message-ID<9dc80a7e-80f1-4459-bee4-afbdda06cdc1@googlegroups.com>
In reply to#2647
On Friday, April 1, 2016 at 8:45:53 PM UTC-4, Michael Pohoreski wrote:
> ...but if you're writing a text / GR game it wouldn't hurt to do things "right" to minimize any potential issues.

Looks like I've got more studying/practice to do!

Thanks alot to all whom are helping me learn 6502 assembly. Two decades ago, programmers would not dispense ANY info on this language, not even for videogame ROM hacking. I hope when I finally make a 'good program' it will make good use of your help.

[toc] | [prev] | [next] | [standalone]


#2634

From"Michael J. Mahon" <mjmahon@aol.com>
Date2016-03-31 12:28 -0700
Message-ID<K_udnZsUmanW52DLnZ2dnUU7-XHNnZ2d@giganews.com>
In reply to#2620
On 3/30/2016 2:13 PM, Michael Pohoreski wrote:
> On Wednesday, March 30, 2016 at 1:06:49 PM UTC-7, gid...@sasktel.net wrote:
>> Here is a ROM call chart with a list of ROM calls that should help you.
>> http://mirrors.apple2.org.za/ftp.apple.asimov.net/documentation/magazines/misc/theappleorchard_v1n1_applesoftinternalentrypoints_ocr.pdf
>
> Oooh, I hadn't seen that chart before. Thanks for posting that!
>
> Man, I wish I had that 20 years ago that would of have saved hours of reverse engineering!  Of course, the side effect, would have taken out some of the joy of self-discovery too. :-)
>
You'd probably also like Call-A.P.P.L.E.'s "All About Applesoft", also 
published 35 years ago...
-- 

-michael

NadaNet 3.1 for Apple II parallel computing!
Home page:  http://michaeljmahon.com

"The wastebasket is our most important design
tool--and it's seriously underused."

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.sys.apple2.programmer


csiph-web