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


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

Secret Shame? Reading Source Code

Started byultramagnus_tcv <mikew@thecomputervalet.com>
First post2015-12-11 10:06 -0600
Last post2016-04-29 19:33 -0500
Articles 12 on this page of 32 — 12 participants

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


Contents

  Secret Shame? Reading Source Code ultramagnus_tcv <mikew@thecomputervalet.com> - 2015-12-11 10:06 -0600
    Re: Secret Shame? Reading Source Code Chris Torrence <gorthmog@gmail.com> - 2015-12-11 08:50 -0800
      Re: Secret Shame? Reading Source Code ultramagnus_tcv <mikew@thecomputervalet.com> - 2015-12-12 08:38 -0600
        Re: Secret Shame? Reading Source Code Michael J. Mahon <mjmahon@aol.com> - 2015-12-12 16:04 -0600
          Re: Secret Shame? Reading Source Code Michael J. Mahon <mjmahon@aol.com> - 2015-12-12 16:10 -0600
          Re: Secret Shame? Reading Source Code ultramagnus_tcv <mikew@thecomputervalet.com> - 2015-12-13 10:21 -0600
            Re: Secret Shame? Reading Source Code Michael J. Mahon <mjmahon@aol.com> - 2015-12-13 11:23 -0600
              Re: Secret Shame? Reading Source Code ultramagnus_tcv <mikew@thecomputervalet.com> - 2015-12-13 11:41 -0600
            Re: Secret Shame? Reading Source Code dempson@actrix.gen.nz (David Empson) - 2015-12-14 08:15 +1300
              Re: Secret Shame? Reading Source Code Michael J. Mahon <mjmahon@aol.com> - 2015-12-13 17:16 -0600
              Re: Secret Shame? Reading Source Code Jeff Blakeney <CUTjeffrey_blakeney@yahoo.ca> - 2015-12-13 18:17 -0500
                Re: Secret Shame? Reading Source Code Michael J. Mahon <mjmahon@aol.com> - 2015-12-13 17:39 -0600
                Re: Secret Shame? Reading Source Code m.omalley.au@gmail.com - 2016-01-24 02:26 -0800
                  Re: Secret Shame? Reading Source Code Michael J. Mahon <mjmahon@aol.com> - 2016-01-24 10:45 -0600
                    Re: Secret Shame? Reading Source Code wssimms@gmail.com - 2016-01-24 15:20 -0800
                      Re: Secret Shame? Reading Source Code Michael J. Mahon <mjmahon@aol.com> - 2016-01-24 23:33 -0600
                        Re: Secret Shame? Reading Source Code wssimms@gmail.com - 2016-01-25 05:01 -0800
                          Re: Secret Shame? Reading Source Code Michael J. Mahon <mjmahon@aol.com> - 2016-01-25 16:29 -0600
      Re: Secret Shame? Reading Source Code michael.pohoreski@gmail.com - 2016-01-27 07:09 -0800
    Re: Secret Shame? Reading Source Code wssimms@gmail.com - 2015-12-11 18:02 -0800
      Re: Secret Shame? Reading Source Code awanderin <awanderin@gmail.com> - 2015-12-11 23:01 -0700
        Re: Secret Shame? Reading Source Code Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-01-28 12:33 -0800
          Re: Secret Shame? Reading Source Code Michael Barry <barrym95838@yahoo.com> - 2016-01-28 22:50 -0800
            Re: Secret Shame? Reading Source Code wssimms@gmail.com - 2016-01-29 02:04 -0800
            Re: Secret Shame? Reading Source Code Michael J. Mahon <mjmahon@aol.com> - 2016-01-29 13:58 -0600
            Re: Secret Shame? Reading Source Code Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-01-29 16:10 -0800
            Re: Secret Shame? Reading Source Code Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-01-29 16:15 -0800
              Re: Secret Shame? Reading Source Code Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2016-01-31 03:50 -0600
    Re: Secret Shame? Reading Source Code michael.pohoreski@gmail.com - 2016-01-25 11:03 -0800
    Re: Secret Shame? Reading Source Code michael.pohoreski@gmail.com - 2016-01-25 11:04 -0800
    Re: Secret Shame? Reading Source Code michael.pohoreski@gmail.com - 2016-01-27 07:14 -0800
      Re: Secret Shame? Reading Source Code ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-04-29 19:33 -0500

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


#2004

Fromawanderin <awanderin@gmail.com>
Date2015-12-11 23:01 -0700
Message-ID<m361048asr.fsf@gmail.com>
In reply to#2003
In addition to the good advice given above, I'd say pick some assembler
that is available, enter in the source code and try to assemble it.  Any
problems you have in getting it to work will be either your tutelage
into how to solve other, similar problems, or they will make great
questions for posting here.

In a nutshell, jump in and try.  It'll be fun!

--
Jerry    awanderin at gmail dot com

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


#2194

FromMichael Pohoreski <michael.pohoreski@gmail.com>
Date2016-01-28 12:33 -0800
Message-ID<62eccbff-0b01-4f27-8057-9deeefe66af1@googlegroups.com>
In reply to#2004
On Friday, December 11, 2015 at 10:01:46 PM UTC-8, awanderin wrote:
> In a nutshell, jump in and try.  It'll be fun!

Exactly!

Hell, even use the mini-assembler to get started!

CALL-151
FC58G
!
300: LDA $C000
 BPL $300
 STA $C010
 STA $400
 RTS
<press return on blank line to leave mini-assembler>
300G
 

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


#2195

FromMichael Barry <barrym95838@yahoo.com>
Date2016-01-28 22:50 -0800
Message-ID<1d4e841c-8f1c-4245-97c8-8338c00942a0@googlegroups.com>
In reply to#2194
On Thursday, January 28, 2016 at 12:33:56 PM UTC-8, Michael Pohoreski wrote:
> ...
> FC58G

The mini-assembler was invoked with F666G

> !
> 300: LDA $C000
>  BPL $300
>  STA $C010
>  STA $400
>  RTS
> <press return on blank line to leave mini-assembler>

The mini-assembler was exited with $FF69G

> 300G

Mike B.

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


#2196

Fromwssimms@gmail.com
Date2016-01-29 02:04 -0800
Message-ID<7dfcfbf6-077d-4fc9-ad4c-5c9686a0227d@googlegroups.com>
In reply to#2195
Am Freitag, 29. Januar 2016 15:50:34 UTC+9 schrieb Michael Barry:
> On Thursday, January 28, 2016 at 12:33:56 PM UTC-8, Michael Pohoreski wrote:
> > ...
> > FC58G
> 
> The mini-assembler was invoked with F666G
> 
> > !
> > 300: LDA $C000
> >  BPL $300
> >  STA $C010
> >  STA $400
> >  RTS
> > <press return on blank line to leave mini-assembler>
> 
> The mini-assembler was exited with $FF69G
> 
> > 300G
> 
> Mike B.

Ah, but which mini-assembler?

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


#2198

FromMichael J. Mahon <mjmahon@aol.com>
Date2016-01-29 13:58 -0600
Message-ID<ubOdnV01PvjEWTbLnZ2dnUU7-V2dnZ2d@giganews.com>
In reply to#2195
Michael Barry <barrym95838@yahoo.com> wrote:
> On Thursday, January 28, 2016 at 12:33:56 PM UTC-8, Michael Pohoreski wrote:
>> ...
>> FC58G
> 
> The mini-assembler was invoked with F666G
> 
>> !
>> 300: LDA $C000
>> BPL $300
>> STA $C010
>> STA $400
>> RTS
>> <press return on blank line to leave mini-assembler>
> 
> The mini-assembler was exited with $FF69G
> 
>> 300G
> 
> Mike B.
> 

And for the enhanced //e and later, the monitor command "!" enters the
mini-assembler and "RETURN" at the mini-assembler prompt exits to the
monitor. 

No need to remember hex addresses...  
-- 
-michael - NadaNet 3.1 and AppleCrate II:  http://michaeljmahon.com

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


#2200

FromMichael Pohoreski <michael.pohoreski@gmail.com>
Date2016-01-29 16:10 -0800
Message-ID<23fe89da-6cca-47c8-8758-fd07f252ba4e@googlegroups.com>
In reply to#2195
On Thursday, January 28, 2016 at 10:50:34 PM UTC-8, Michael Barry wrote:
> On Thursday, January 28, 2016 at 12:33:56 PM UTC-8, Michael Pohoreski wrote:
> > ...
> > FC58G
> 
> The mini-assembler was invoked with F666G

Yup, just wanted to clear the screen so there was no left-over crap on it to make it easier for the OP to understand.

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


#2201

FromMichael Pohoreski <michael.pohoreski@gmail.com>
Date2016-01-29 16:15 -0800
Message-ID<c91ddfc9-1323-48d7-bf59-b1558b55e252@googlegroups.com>
In reply to#2195
On Thursday, January 28, 2016 at 10:50:34 PM UTC-8, Michael Barry wrote:
> The mini-assembler was exited with $FF69G

Yup, that's the only way on the Apple ][ (or pre-enhanced //e.)  On the enhanced //e (or later) you can use a blank line.

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


#2203

FromBrian Patrie <bpatrie@bellsouth.spamisicky.net>
Date2016-01-31 03:50 -0600
Message-ID<n8kldn$1jvu$1@gioia.aioe.org>
In reply to#2201
On 2016-01-29 18:15, Michael Pohoreski wrote:
> On Thursday, January 28, 2016 at 10:50:34 PM UTC-8, Michael Barry wrote:
>> The mini-assembler was exited with $FF69G
>
> Yup, that's the only way on the Apple ][ (or pre-enhanced //e.)
 > On the enhanced //e (or later) you can use a blank line.

And the II+ and non-enhanced IIe don't have the mini-assembler in ROM.
(I was very pleased to see it return.)

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


#2183

Frommichael.pohoreski@gmail.com
Date2016-01-25 11:03 -0800
Message-ID<985bda4c-df67-4757-9525-03b4f0c7b9c1@googlegroups.com>
In reply to#2000
On Friday, December 11, 2015 at 8:06:18 AM UTC-8, ultramagnus_tcv wrote:

> 3. If one were a masochist, could one enter the hexadecimal values on 
> the left into, say, the monitor?

Masochist?  A little "assembled by hand" is good for the soul.  
i.e. Why waste time firing up the assembler when you have the 6502 opcodes memorized it would just be faster to enter in raw hex?

Hey, it worked for Woz and Integer Basic !


   100  *************************************************
   110  *                                               *
   120  *                 INTEGER BASIC                 *
   130  *                                               *
   140  *                      WOZ                      *
   150  *                                               *
   160  *************************************************
   170  *                                               *
   180  * "That BASIC, which we shipped with the first  *
   190  *  Apple II's, was never assembled -- ever.     *
   200  *  There was one handwritten copy, all          *
   210  *  handwritten, all hand assembled."            *
   220  *                                               *
   230  *              Steve Wozniak                    *
   240  *              Call-A.P.P.L.E., October 1986    *
   250  *                                               *
   260  *************************************************

http://www.easy68k.com/paulrsm/6502/INTLST.TXT

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


#2184

Frommichael.pohoreski@gmail.com
Date2016-01-25 11:04 -0800
Message-ID<7d607fe6-ea66-4b67-bba4-0b4be725d05d@googlegroups.com>
In reply to#2000
On Friday, December 11, 2015 at 8:06:18 AM UTC-8, ultramagnus_tcv wrote:

> I apologize if these are dumb questions.

There are no dumb questions.

**None** of us was born knowing this stuff.

We just spent a *lot* of time, "hacking", er, programming, on our Apple with a natural curiosity, and sharing what we learnt.

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


#2191

Frommichael.pohoreski@gmail.com
Date2016-01-27 07:14 -0800
Message-ID<91141aaa-316d-4d64-9721-cf9de907b697@googlegroups.com>
In reply to#2000
On Friday, December 11, 2015 at 8:06:18 AM UTC-8, ultramagnus_tcv wrote:

Mike, you might also enjoy my "Apple 2 HGR Font Tutorial"

https://github.com/Michaelangel007/apple2_hgr_font_tutorial

as a gentle way to get familiar with hex, bits, bytes, assembly, and the HGR screen.  I designed it to be a "learn by doing" tutorial.

Cheers,
Michael



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


#2703

Fromultramagnus_tcv <mikew@thecomputervalet.com>
Date2016-04-29 19:33 -0500
Message-ID<ng0u9k$pcp$1@dont-email.me>
In reply to#2191
Hey Michael,

I'm sorry I disappeared for a long, long time. Thank you for sending this.

On 2016-01-27 15:14:39 +0000, michael.pohoreski@gmail.com said:

> On Friday, December 11, 2015 at 8:06:18 AM UTC-8, ultramagnus_tcv wrote:
> 
> Mike, you might also enjoy my "Apple 2 HGR Font Tutorial"
> 
> https://github.com/Michaelangel007/apple2_hgr_font_tutorial
> 
> as a gentle way to get familiar with hex, bits, bytes, assembly, and 
> the HGR screen.  I designed it to be a "learn by doing" tutorial.
> 
> Cheers,
> Michael

[toc] | [prev] | [standalone]


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

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


csiph-web