Here is the start screen that will display while data initialization is being performed (screen data, default lineups, array’s being dimensioned etc.
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.
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.