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


Groups > comp.sys.apple2.programmer > #4222

Re: RamWorks test

From Brian Patrie <bpatrie@bellsouth.spamisicky.net>
Newsgroups comp.sys.apple2.programmer
Subject Re: RamWorks test
Date 2018-02-15 07:38 -0600
Organization Aioe.org NNTP Server
Message-ID <p642hi$ibt$1@gioia.aioe.org> (permalink)
References <10c538b8-b09d-41a3-a4cd-710e893c88bf@googlegroups.com> <721506a7-8f12-4e21-bd8f-46a312eb4a39@googlegroups.com>

Show all headers | View raw


Someone posted an auxmem bank counter several months ago.
Unfortunately i seem to have neglected to save the source message.
(I feel like a schlock for not being able to give due credit.)
But here's the disassembly of my binary (which is dated 2017-05-03).
It counts all of AppleWin's 127 bank maximum.

0300:   8D 09 C0    STA   $C009
0303:   A0 7F       LDY   #$7F
0305:   8C 73 C0    STY   $C073
0308:   84 00       STY   $00
030A:   98          TYA
030B:   49 FF       EOR   #$FF
030D:   85 01       STA   $01
030F:   88          DEY
0310:   10 F3       BPL   $0305
0312:   C8          INY
0313:   8C 73 C0    STY   $C073
0316:   C4 00       CPY   $00
0318:   D0 0A       BNE   $0324
031A:   98          TYA
031B:   49 FF       EOR   #$FF
031D:   C5 01       CMP   $01
031F:   D0 03       BNE   $0324
0321:   C8          INY
0322:   10 EF       BPL   $0313
0324:   A9 00       LDA   #$00
0326:   8D 73 C0    STA   $C073
0329:   8D 08 C0    STA   $C008
032C:   98          TYA
032D:   4C DA FD    JMP   $FDDA

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

RamWorks test Anthony Ortiz <anthonypaulo@gmail.com> - 2018-02-14 20:26 -0800
  Re: RamWorks test gids.rs@sasktel.net - 2018-02-15 00:43 -0800
    Re: RamWorks test Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2018-02-15 07:38 -0600
      Re: RamWorks test Anthony Ortiz <anthonypaulo@gmail.com> - 2018-02-15 05:48 -0800
        Re: RamWorks test Anthony Ortiz <anthonypaulo@gmail.com> - 2018-02-15 21:25 -0800
          Re: RamWorks test Anthony Ortiz <anthonypaulo@gmail.com> - 2018-02-15 21:57 -0800
            Re: RamWorks test gids.rs@sasktel.net - 2018-02-16 01:23 -0800
              Re: RamWorks test Antoine Vignau <antoine.vignau@laposte.net> - 2018-02-16 05:51 -0800
                Re: RamWorks test gids.rs@sasktel.net - 2018-02-16 09:09 -0800
                Re: RamWorks test gids.rs@sasktel.net - 2018-02-16 09:10 -0800
                Re: RamWorks test gids.rs@sasktel.net - 2018-02-16 09:43 -0800
              Re: RamWorks test Anthony Ortiz <anthonypaulo@gmail.com> - 2018-02-16 18:09 -0800
                Re: RamWorks test Antoine Vignau <antoine.vignau@laposte.net> - 2018-02-16 18:43 -0800
                Re: RamWorks test Anthony Ortiz <anthonypaulo@gmail.com> - 2018-02-16 18:59 -0800
                Re: RamWorks test gids.rs@sasktel.net - 2018-02-17 00:53 -0800
                Re: RamWorks test Michael J. Mahon <mjmahon@aol.com> - 2018-02-17 09:56 -0600
  Re: RamWorks test James Davis <JPD.Enterprises@outlook.com> - 2018-02-15 00:47 -0800
    Re: RamWorks test Antoine Vignau <antoine.vignau@laposte.net> - 2018-02-15 03:00 -0800

csiph-web