Day 9 – Data from Player and Pitcher Cards / Roster and Pitcher screens

Here is the start screen that will display while data initialization is being performed (screen data, default lineups, array’s being dimensioned etc.

Start screen for Timex Sinclair 2068 SuperStar Baseball
Start screen for Timex Sinclair 2068 SuperStar Baseball

The information from each player card for the 15 position players and nine pitchers for each team has been coded.  In order to save memory the two character codes have all been mapped to single characters.  Each player has two sets of data.  The data in program line numbers 90xx is the name, speed, bunt ratings, and position ratings.  The lines starting with 91xx each has two strings of 30 characters that are the batter outcomes for the dice rollx.  xx is the index number for each player and then there data can be read by a RESTORE 9000+xx or RESTORE 9100+xx.  Pitchers are handled in similar manner with data located at 9300, and 9400.

Data translated from player cards in Superstar Baseball, 2 character play outcomes where translated to single characters
Data translated from player cards in Superstar Baseball, 2 character play outcomes where translated to single characters

Now that the data is coded I have set up the screens/subroutines to view and change players in the current batting order, fielding positions, or who is pitching.  The default starting lineup is hard coded, and each player of the game will be able to completely change to his/her preference.  (to be added next)  For each of the position players the number in batter order is listed first, then the fielding position he is player is next, I created three user defined characters for (LF, CF, RF) to save some space on each line). this is followed by the name of the player.  Next is a three character grouping for which side he bats (L/R/B) from, speed rating (0-5) and bunting rating (A/B).  Finally all defensive positions that each can play is listed.  The Pitcher screen shows starting and relief pitchers, with name and which hand he pitches.

pitchersrc rosterscr

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s