
| Inputs | Outputs |
|---|---|
| midifile | MidiBuf |
| midiname | MidiSeg |
| Inputs | Outputs |
|---|---|
| Offset of MidiBuf | AX - whether or not the data was registered |
| Segment of MidiBuf | - |
| Inputs | Outputs |
|---|---|
| none | none |
| Inputs | Outputs |
|---|---|
| none | none |
| Inputs | Outputs |
|---|---|
| none | none |
| Inputs | Outputs |
|---|---|
| wavfile | SoundBuf |
| midiname | - |
| Inputs | Outputs |
|---|---|
| Sound settings | Sound settings |
| Inputs | Outputs |
|---|---|
| Sound settings | 'Sound' |
| Inputs | Outputs |
|---|---|
| AL - 0FFh | none |
| Sound Settings | none |
| Inputs | Outputs |
|---|---|
| Sound Settings | none |
| Inputs | Outputs |
|---|---|
| Sound Settings | none |
| Inputs | Outputs |
|---|---|
| AX- offset of filename | wavfile |
| Inputs | Outputs |
|---|---|
| Pointer to filename containing data | - |
| Memory location to write to | - |
| Inputs | Outputs |
|---|---|
| Sprite number to draw | Draw Sprite to Screen buffer |
| xlength, ylength, xstart, ystart | - |
| Inputs | Outputs |
|---|---|
| X_cum, Y_cum | Draw Sprite to Screen buffer |
| xlength, ylength, xstart, ystart | - |
| Inputs | Outputs |
|---|---|
| - | - |
| Inputs | Outputs |
|---|---|
| MAP_X and MAP_Y | Draws Map tiles on Screen buffer |
| Map.dat | Updates xlength, ylength, xstart, ystart |
| - | Calls DrawTile to draw each tile. |
| Inputs | Outputs |
|---|---|
| Palette | Pallete |
| Inputs | Outputs |
|---|---|
| Character | Draws health bar to the Screen Buffer |
| Inputs | Outputs |
|---|---|
| Sprites Array | xlength, ylength, xstart, ystart as inputs to a MoveSprite call |
| MAP_X and MAP_Y | - |
| Inputs | Outputs |
|---|---|
| X_pos, Y_pos of player | MAP_X and MAP_Y |
| MAP_X and MAP_Y | calls DrawMap |
| Inputs | Outputs |
|---|---|
| SI = offset into Map | AL = Map Value |
| Keyboard Variables | - |
| Inputs | Outputs |
|---|---|
| DI = Character Pointer | Updates delta_x and delta_y |
| Keyboard Variables | - |
| Inputs | Outputs |
|---|---|
| DI = Character Pointer | x_pos and y_pos |
| Inputs | Outputs |
|---|---|
| DI = Bullet Pointer | - |
| Inputs | Outputs |
|---|---|
| Keyboard | Keyboard Variables(UP, DOWN, LEFT, RIGHT, F_UP, F_DOWN, F_LEFT, F_RIGHT) |
| Inputs | Outputs |
|---|---|
| Timer | Update_Positions |
| Inputs | Outputs |
|---|---|
| Enemies array | AllDead = 1 if all enemies dead |
| Inputs | Outputs |
|---|---|
| Enemies array | - |
| Bullet array | - |
| Inputs | Outputs |
|---|---|
| Enemies array | - |
| Friends array | - |
| Inputs | Outputs |
|---|---|
| DI = offset of Character | Bullet |
| Inputs | Outputs |
|---|---|
| AX = offset to object | - |
| BX = type of object | - |
| Inputs | Outputs |
|---|---|
| DI = offset to enemy | delta_x and delta_y |
| Inputs | Outputs |
|---|---|
| Seed | Random number |
| Inputs | Outputs |
|---|---|
| DI = Enemy Pointer | AX = Friends Array offset + 1 of nearest friend |
| Inputs | Outputs |
|---|---|
| Friends, Enemies, Bullets arrays | Friends, Enemies, Bullets arrays |
| Inputs | Outputs |
|---|---|
| - | - |