Jump to content
bradhig1

problem with type game from HCM

Recommended Posts

I typed in Kors Elf from Home Computer magazine issue 5.1 and I got most of it to work.  When I type the keys to stop the letters moving on the screen nothing happens and I can't find anymore error
 
https://archive.org/details/HomeComputerMagazine_Vol5_01/page/n83
BLANKD.DSK

On line 390 you wrote CB= KB... it should read CH=KB...
On line 790 there is an additional comma after XDRAW 29, AT that causes a syntax error. Remove it and the game should work. I have not tested all features though.

Share this post


Link to post
Share on other sites

Thanks..   I got another one archeodroid.   Can't get past reading in the data statements on arche2.   Always data error.

arche.DSK

Share this post


Link to post
Share on other sites

Delete line 132. It seems like it was a failed entry of line 1320.
On line 270 correct the quotes around “CHECK” and delete the one after CHR$(7).
On line 340 correct HCARK to HCHAR,K
On line 350 correct HCAR to HCHAR and add a comma after the second HCHAR
On line 390 make sure to keep the syntax DRAW n AT x,y
There are others. Try to find them. Otherwise I can post a disk image with the corrected version later.

Share this post


Link to post
Share on other sites

fixed those and now it crashes into some ml monitor assembler thing.  I hate typing data statements I always mess them up.

Edited by bradhig1
adding

Share this post


Link to post
Share on other sites

got it working in Apple II+ mode.  The screen is drawn but garbled.  again emulator crashes in to ml editor.  Saved as arche2

arche.DSK

Share this post


Link to post
Share on other sites

I tried it in the Java Apple II Emulator and the same thing happened. It crashed after selecting keyborad or joystick and speaker or no speaker.  Guess the emus can't handle this program.  Anyone try it on a real Apple II 

Share this post


Link to post
Share on other sites

are there disks from other issues of the magazine with the other games from the other issues?

Share this post


Link to post
Share on other sites
On 9/11/2019 at 11:43 PM, bradhig1 said:

Thanks..   I got another one archeodroid.   Can't get past reading in the data statements on arche2.   Always data error.

arche.DSK 140 kB · 3 downloads

Thanks for typing these in and to those helping to debug them.  Could you possibly post the fixed disk images once you have made the corrections?  I would love to try them.

 

thanks

Share this post


Link to post
Share on other sites

I don't know if using pro dos 3.3 caused the problems with archeodroid.    I grew up with a commodore 64.    I don't know much about Apple IIs even thou I used them in high school.  How do you load from the second disk drive.

Share this post


Link to post
Share on other sites

BASIC.SYSTEM (the BASIC/ProDOS wedge) and DOS 3.3 have different ways of interfacing that utilize the i/o hooks, so stuff that is written for one will need reworking for the other.

Share this post


Link to post
Share on other sites
52 minutes ago, bradhig1 said:

I don't know if using pro dos 3.3 caused the problems with archeodroid.    I grew up with a commodore 64.    I don't know much about Apple IIs even thou I used them in high school.  How do you load from the second disk drive.

LOAD filename,D2

Share this post


Link to post
Share on other sites

Always look in subsequent issues of the magazine for any corrections to the listings. Some familiarity with the version of Basic the program is written for and its syntax helps spot errors in the listing while you're typing it. And of course read through your entries for typos made while you're inputting it.

  • Like 1

Share this post


Link to post
Share on other sites

I can't tell how much of the program is executed before the emu crashes.     I have debugged many of the data statements.   I don't which version of prodos or apple basic I should use with these programs.    I believe a real apple ii would not kick you out of basic if a program has errors like applewin keeps doing.    There are no corrections in later issues.   If I run it in Apple II+ mode it says run cannibals and just sits there doing nothing.

On Disk - Programs from Home Computer Magazine.dsk

Share this post


Link to post
Share on other sites

Most programs that hook the I/O vectors and are written for DOS 3.3 will not work on ProDOS without modification.  (In DOS 3.3, you set the vectors at $36-$39, then call $03EA.  In ProDOS, you need the function to start with a CLD, and use the DOS command PR#A$xxxx and IN#A$xxxx.)

Edited by The Usotsuki
  • Like 1

Share this post


Link to post
Share on other sites

I haven’t checked yet, but I don’t think there’s anything wrong with the listing on the magazine. The assembly routines embedded in the data statements usually don’t use any DOS I/O hooks, so they should work under any OS. They do use a clever argument parsing that may lead to issues if called incorrectly. For archeodroids there were a lot of typos in many lines outside the data statements that caused the reset to monitor situation. I would suggest to check the complete code again for any typos.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...