New to KIM: couple of questions

Talk about your Micro-KIM

New to KIM: couple of questions

Postby MOS6502 » May Mon 28, 2012 2:06 pm

Hello all!

I received my Micro-KIM couple of weeks ago. Assembly was great fun and the board worked from the first try! I have had some interesting time typing in programs and wondering how this thing works. So far my absolute favourite programs are Lunar Lander and Multi-Maze, truly fascinating pieces of software for a computer with this limited I/O capability.

Also, just for the fun of it, I put a vintage MOS 6502 processor into the board to have that right vintage feeling! :wink:

I still have some, probably trivial questions, and would love to hear some tips on them:

1) Excatly when do I need to set the vector locations (page 16 of the Micro-KIM manual)? Only if I need single-step operation? What could happen if I don't set them?

2) How do I set the program's end address? Page 23 shows how to set it to 0300, but how can I set it end at fe. 0336? I typed in a small program, but couldn't get it saved properly as I didn't know how to set the end address (listing stopped half-way, as I had put in 0300).

3) I loaded the "Farmer Brown" program (from http://www.brielcomputers.com/phpBB3/viewtopic.php?f=16&t=274) but I only get ants, no other animal appear in the game. I flipped thrue the code and it looked to be Ok (compared to the First book of KIM's listing).

When I get the feeling I can control this thing properly, I'd love to type in some programs (fe. from the First book of KIM) and transfer them, to get them up here on the forum. Having software easily available for the Micro-KIM would be awesome.

And of course, having the REAL thing (KIM-1) someday would be awesome!

Thanks!
Motorola 6800, Intel 8080, Fairchild F8, Rockwell PPS8... MOS 6502 Microprocessor beats 'em all!
User avatar
MOS6502
 
Posts: 8
Joined: May Mon 28, 2012 12:26 pm
Location: Helsinki - Finland

Re: New to KIM: couple of questions

Postby MOS6502 » May Tue 29, 2012 12:09 pm

Ok, now I re-read the Micro-KIM manual and the KIM-1 user manual and found out the program's ending address at 17F7 and 17F8. Now I am getting stuff transfered Ok 8)
Motorola 6800, Intel 8080, Fairchild F8, Rockwell PPS8... MOS 6502 Microprocessor beats 'em all!
User avatar
MOS6502
 
Posts: 8
Joined: May Mon 28, 2012 12:26 pm
Location: Helsinki - Finland

Re: New to KIM: couple of questions

Postby jac_goudsmit » May Tue 29, 2012 1:59 pm

I don't know the details about the Farmer Brown program but if it uses the timer from the second RIOT to generate the animals at random, it's always going to get the same value unless you have the second 6532 expansion board installed.

I've seen a working version on my MicroKim, though. I probably downloaded it from this forum and it was probably from someone who adapted the program to use only one RIOT chip.

===Jac
User avatar
jac_goudsmit
 
Posts: 74
Joined: Jun Mon 14, 2010 3:22 pm
Location: Rancho Cucamonga, California

Re: New to KIM: couple of questions

Postby MOS6502 » May Tue 29, 2012 3:10 pm

Thanks for the tip. After realizing the problem being with the timer, I remembered seeing a mention of that in the 'First book of KIM'- thread where the 'Asteroids'- game was fixed in a similar manner. I copied the address of the timer that the fixed 'Asteroids' used, and managed to get 'Farmer Brown' working!

'Famer Brown' -fix for the unexpanded Micro-KIM:
change line: 0223 AD 04 17
to: 0223 AD 46 17

I think I am getting the hang of this 8)
Motorola 6800, Intel 8080, Fairchild F8, Rockwell PPS8... MOS 6502 Microprocessor beats 'em all!
User avatar
MOS6502
 
Posts: 8
Joined: May Mon 28, 2012 12:26 pm
Location: Helsinki - Finland

Re: New to KIM: couple of questions

Postby Norbert » Jun Wed 06, 2012 7:04 am

You can play Farmer Brown 'fully featured' with a single 6532 if you modify the data from 04 to 44 at address $0224.

Norbert
Norbert
 
Posts: 17
Joined: Feb Tue 15, 2011 2:17 am

Re: New to KIM: couple of questions

Postby asiffarii » Jul Tue 31, 2012 5:57 am

Thank you so much for these info.


desktop computers
asiffarii
 
Posts: 1
Joined: Jul Tue 31, 2012 5:22 am


Return to Micro-KIM General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests