px4plus: minor updates
authorAlan Cox <alan@linux.intel.com>
Sun, 29 Mar 2015 00:17:38 +0000 (00:17 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 29 Mar 2015 00:17:38 +0000 (00:17 +0000)
Kernel/platform-px4plus/README
Kernel/platform-px4plus/sio.h
Kernel/platform-px4plus/swapdev.s

index ad5d2ba..fa5162d 100644 (file)
@@ -1,6 +1,5 @@
-A FUZIX target for the PX4plus (and PX4 with 128K RAM disc)
-
-Just playing to see if we can make it fit.
+A FUZIX target for the PX4plus (and PX4 with either the 128K sidecar or a
+RAM cartridge of at least 32K size).
 
 The PX4Plus has 64K of RAM, and can overlay 6000-DFFF with one of two
 different ROMpacks (usually 'basic' and 'utility'). Our kernel is a two
index 19ed538..477739f 100644 (file)
@@ -5,7 +5,7 @@ extern int select_sio(void);
 extern void deselect_sio(int old);
 
 extern void sio_set_irq(void);
-extern void sio_release_irq(void);
+extern uint16_t sio_release_irq(void);
 
 extern void sio_write(uint8_t *buf, int len);
 extern int sio_read(uint8_t *buf, int len);
@@ -13,7 +13,5 @@ extern int sio_read(uint8_t *buf, int len);
 /* These don't truely belong here but it will do for now */
 extern void read_from_bank(void);
 
-extern uint8_t sio_count;
-extern uint8_t missed_interrupts;
 
 #endif
\ No newline at end of file
index 9eb1fb2..cc36abf 100644 (file)
@@ -17,6 +17,9 @@
 ;      the I/O memory that held the bank we switched to, and then we fix
 ;      up the table. That makes all the magic going on conveniently
 ;      invisible to the core code.
+;
+;      FIXME: The 128K sidecar has a notion of open/closed. Open allows
+;      accesses, closes saves power. We need to support this.
 ;
 
                .globl _cartridge_copy