Subversion Repositories Shiroi

Rev

Rev 8 | Rev 10 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8 Rev 9
Line 1... Line 1...
1
/* $Id: shiroi.c 8 2024-08-28 16:29:15Z nishi $ */
1
/* $Id: shiroi.c 9 2024-08-28 16:35:27Z nishi $ */
2
 
2
 
3
#include "io.h"
3
#include "io.h"
4
#include "am9511.h"
4
#include "math.h"
5
#include "psg.h"
5
#include "sound.h"
6
#include "video.h"
6
#include "video.h"
7
#include "text.h"
7
#include "text.h"
8
#include "char.h"
8
#include "char.h"
9
 
9
 
10
void init_cards(void);
10
void init_cards(void);
Line 224... Line 224...
224
	int port = 2;
224
	int port = 2;
225
	for(i = 0; i < 256 / 3; i++){
225
	for(i = 0; i < 256 / 3; i++){
226
		int t = inp(port);
226
		int t = inp(port);
227
		if(t != 0){
227
		if(t != 0){
228
			video_card(t, port);
228
			video_card(t, port);
229
			psg_card(t, port);
229
			sound_card(t, port);
230
			fpu_card(t, port);
230
			math_card(t, port);
231
			text_card(t, port);
231
			text_card(t, port);
232
 
-
 
233
		}
232
		}
234
		port += 3;
233
		port += 3;
235
	}
234
	}
236
}
235
}