[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interview with the Apple IIGS kid



On Wed, 29 Aug 2012, BLuRry wrote:

On Wednesday, August 29, 2012 7:23:57 AM UTC-5, thye...@gmail.com wrote:
在 2012年8月29日星期三UTC+8下午7时23分43秒,Polymorph写道:



I've just started teaching my 8 year old daughter to program in BASIC on



the IIgs also - so maybe you will have some competition in the future?



:-)  Mind you, its been at least 20 years since I did any BASIC, so the



teacher is teaching himself along the way.







Anyway, well done guys.







--







Cheers,



Mike







Find my Apple II projects online at:



http://apple2.sytes.net/



Thank you!



Ding Wen is now starting to look into... 6502 assembly language!



What is the simplest way for him to learn assembly? The fun way?

I learned by typing in programs from Nibble. The one and two liners were short enough for me to make sense out of. Also something as simple as:

LOOP
  LDA $c054
  LDA $c055
  JMP LOOP

could be fun for him to get some idea of how fast assembly code is compared to basic. Then change out the LDA with BIT or STA to learn that some opcodes take longer than others.

More importantly, a good monitor is a key factor. When I got my KIM-1, I'd just try single instructions with it, the monitor would single step and then I could see the results and the state of the registers afterwards. It was better than trying to figure the books.

Then I'd put two instructions together, and so on. I still did that, try bits of code and then put it together.

  Michael


After that, it would probably be a good idea to demonstrate indexed addressing modes so that he can use a lookup table and draw hi-res shapes. A shape blitting routine is a pretty straightforward affair. I remember writing one when I was 15. That was a fun week!