Jump to content
IGNORED

Clear for Action ported to Geneve


hloberg

Recommended Posts

FYI, this formula [DIST=((ABS(X1-X2)^2)+(ABS(Y1-Y2)^2))] matches CALL DISTANCE exactly.

here's a program from the TI99 that test the formula and compares with CALL DISTANCE.

90 CALL CLEAR
100 CALL SPRITE(#1,65,2,50,50,1,1)
105 CALL SPRITE(#2,75,2,60,60,_1,-1)
110 CALL DISTANCE(#1,#2,R)
120 CALL POSITION(#1,Y1,X1)
122 CALL POSITION(#2,Y2,X2)
127 D=((ABS(X1-X2)^2)+(ABS(Y1-Y2)^2))
130 DISPLAY AT(24,1):R
135 DISPLAY AT(23,1):D
140 GOTO 110

  • Like 3
Link to comment
Share on other sites

On 3/8/2023 at 6:22 PM, mizapf said:

Why? - Because in groups, for each element there is exactly one inverse element, so you can easily derive that the inverse of the inverse element is the element itself. The proof is left as an exercise.

 

funny, I was just teaching one of the kids this very thing a couple weeks ago and I totally forgot it. 😜

Link to comment
Share on other sites

  • 2 weeks later...

UPDATE: DEBUGGED VERSION C10A AS DOWNLOAD

has version for DSK1 and if you have Geneve MAME package download from my site https://ti99resources.wordpress.com/emulation/

you can just replace the SOFTWARE files with the new SOFTWARE files and execute ABGAMES at the Geneve prompt for the menu to run CFA,

-------------------------------------------------------------

 

CFA10a-UPDATED.zip

  • Like 7
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...