@@ -120,8 +120,8 @@ const char *cpu_description (DEVICE *dptr);
120120
121121uint32 read_addr (uint8 * reg , uint8 * zone );
122122void write_addr (uint32 addr , uint8 reg , uint8 zone );
123- uint32 load_addr (int * loc );
124- void store_addr (uint32 addr , int * loc );
123+ uint32 load_addr (uint32 * loc );
124+ void store_addr (uint32 addr , uint32 * loc );
125125void store_cpu (uint32 addr , int full );
126126void load_cpu (uint32 addr , int full );
127127uint16 get_acstart (uint8 reg );
@@ -2405,7 +2405,7 @@ void write_addr(uint32 addr, uint8 reg, uint8 zone) {
24052405}
24062406
24072407/* Store converted address in storage */
2408- void store_addr (uint32 addr , int * loc ) {
2408+ void store_addr (uint32 addr , uint32 * loc ) {
24092409 uint8 value [4 ];
24102410 int i ;
24112411
@@ -2454,7 +2454,7 @@ void store_addr(uint32 addr, int *loc) {
24542454
24552455
24562456/* Read address from storage */
2457- uint32 load_addr (int * loc ) {
2457+ uint32 load_addr (uint32 * loc ) {
24582458 uint8 t ;
24592459 uint8 f ;
24602460 uint8 zone ;
@@ -2507,7 +2507,7 @@ uint32 load_addr(int *loc) {
25072507}
25082508
25092509/* Store converted hex address in storage */
2510- void store_hex (uint32 addr , int * loc ) {
2510+ void store_hex (uint32 addr , uint32 * loc ) {
25112511 /* Convert address into BCD first */
25122512 AC [* loc ] = bin_bcd [addr & 0xf ];
25132513 * loc = next_addr [* loc ];
@@ -2520,7 +2520,7 @@ void store_hex(uint32 addr, int *loc) {
25202520}
25212521
25222522/* Read hex address from storage */
2523- uint32 load_hex (int * loc ) {
2523+ uint32 load_hex (uint32 * loc ) {
25242524 uint8 t ;
25252525 uint8 f ;
25262526 uint32 addr ;
0 commit comments