Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ibid

Pages: [1]
1
TI Z80 / Re: Heapsort, VATSort, and ListSort
« on: October 28, 2018, 03:20:43 am »
You don't need to include the rom. You could just post the patches like ThePenguin77 used to do.

2
TI Z80 / Re: axe set (with AI)
« on: January 08, 2018, 12:50:10 pm »
Okay, it's now fully playable.



Rules

Like the original game, each card has four properties (number, color, shape, pattern). A "set" is a group of three cards in which every one of the properties is either the same or different. (but not two cards alike with only the third different).

Twelve cards (or more if needed) are laid out and you have to try finding a set. When you find one, you press [Graph] to call it, and then select the three cards. You get a point and those cards are replaced. Calling "set" incorrectly causes you to lose a point. (Though you can disable this penalty in the settings.)

If you wait to long then the calculator will "find" a set first and get a point. This time is defaulted to about 20 seconds (on the 15mHz calcs at least), but you can adjust it in the settings for an easier/harder game.

Controls

Arrow keys - move cursor around
Graph - Call a set
Graph/2nd/Enter - Select cards (after calling a set)
2nd/Enter - Deal new cards (after the calculator calls a set)
Trace - Enter/Exit the settings menu
Clear - Exit

3
TI Z80 / Re: axe set (with AI)
« on: December 31, 2017, 03:59:03 am »
I implemented Greylib, which took care of all the display problems I had. I'm now pretty much all done besides for the actual gameplay (which is where I thought I was up to when I first started this topic).

Anyways, I'm uploading a copy as it is now. It's not really playable, but it shows off the graphics, the AI, and most of the interface. The calculator lays out cards and show a set. If you press Enter, the calculator will remove the set, lay out more cards, and show a different set. (And so on until there are no more cards in the deck.) You can press the arrow keys to explore the attributes of different cards in the sidebar (in case the card designs are too hard to make out). The "Set" button at F5 doesn't do anything yet, and there's no way for you to call your own set. So as of now you can only watch the calculator play against itself.

4
TI Z80 / Re: [AXE LIBRARY] GrayLib: (nearly) perfect grayscale
« on: December 29, 2017, 03:12:59 am »
Doing a zoom compile with the °GIT set to 1 throws an ERROR: Undocumented on the "performs magic" line of GreyLib.

Why is this?

5
TI Z80 / Re: axe set (with AI)
« on: December 27, 2017, 09:09:34 pm »
But then I'll need an extra 1,536 bytes of free ram in order to run the game (in addition to however much space the program is).

Is there a way to draw text to a custom buffer? Or should I just leave my drawing routines as they are and use the new buffers as the greyscale buffer?

6
TI Z80 / Re: axe set (with AI)
« on: December 27, 2017, 07:27:21 am »
Quote
Wow, 4 years since the initial post. :O Are you finishing this or are you working on anything programming related at the moment?

I just picked it up again to try finishing it, but not sure if I'll be able to complete it.

The problem with using interrupts for greyscale is that they update the display before I'm finished drawing to the buffers. If I turn off interrupts during the drawing routines than there's a noticeable lag where the greyscale freezes into monochrome.

My usual method was to have all of the drawing commands followed by dispgraphclrdrawrr in a single loop.

Other than creating a 1,536 byte buffer in the ram, the only thing that I can think of is to rewrite all of the drawing routines to only erase each section right before it gets redrawn instead of constantly clrdraw'ing everything at once.

7
TI Z80 / Re: axe set (with AI)
« on: October 03, 2012, 09:03:48 am »
The greyscale kind of looks better on the calculator where you are paused more between keys. The computations are done beforehand and Dispgraphrr is in a very short loop.

I've never really used interrupts before. So I should just use FnInt( to turn it on, LnReg to turn it off, and put Dispgraphrr in the interrupt routine?

8
TI Z80 / axe set (with AI)
« on: October 03, 2012, 03:00:25 am »
I am porting the card game set to the 83/84 plus calculators in axe.

So far I did close to everything besides for the Human element. (I did the AI)

here's a screenshot:



Edit: Here's the above screenshot but with the frozen frames removed. As per suggestion from Sorunome I had switched over to managing the greyscale via interrupts, and so this image more closely resembles the game as it was before I abandoned it.


9
TI Z80 / Re: zStart - an app that runs on ram clears
« on: July 23, 2012, 05:09:24 pm »
here are some bugs:

When the picture on startup goes and is allowed to sit until the calculator APD's; the calc will turn on to freeze like this



when you press 2nd Mem 2, edit a program from ON + Num, and then press ON+VARS ENTER, the cursor will vanish


compiling from program will allow you to compile a program like this

PROGRAM:A
:.

leading to an Axe unknown error B225695

Pages: [1]