mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-24 22:56:52 +01:00
reduced buffer size
This commit is contained in:
parent
8410cbe191
commit
1c8e7a4765
@ -230,8 +230,8 @@ typedef struct {
|
||||
io32_t DATA[2];
|
||||
io32_t VERSION;
|
||||
io32_t __padding[4092];
|
||||
io32_t CPU_RAM[3840];
|
||||
io32_t BUFFER[256];
|
||||
io32_t CPU_RAM[3968];
|
||||
io32_t BUFFER[128];
|
||||
} sc64_regs_t;
|
||||
|
||||
#define SC64_BASE (0x1FFF0000UL)
|
||||
|
@ -1,6 +1,6 @@
|
||||
MEMORY {
|
||||
ram (rwx) : org = 0x00000000, len = 15k
|
||||
buffer (rw) : org = 0x00003C00, len = 1k
|
||||
ram (rwx) : org = 0x00000000, len = 16k - 512
|
||||
buffer (rw) : org = 0x00003E00, len = 512
|
||||
rom (rx) : org = 0x10010000, len = 26k
|
||||
}
|
||||
|
||||
|
@ -22,11 +22,11 @@ typedef volatile uint32_t io32_t;
|
||||
|
||||
|
||||
#define RAM_BASE (0x00000000UL)
|
||||
#define RAMBUFFER_SIZE (512)
|
||||
#define RAM_SIZE ((16 * 1024) - RAMBUFFER_SIZE)
|
||||
#define RAMBUFFER_BASE (RAM_BASE + RAM_SIZE)
|
||||
#define RAM (*((io32_t *) RAM_BASE))
|
||||
#define RAM_SIZE (15 * 1024)
|
||||
#define RAMBUFFER_BASE (0x00003C00UL)
|
||||
#define RAMBUFFER (*((io8_t *) RAMBUFFER_BASE))
|
||||
#define RAMBUFFER_SIZE (1 * 1024)
|
||||
|
||||
|
||||
#define FLASH_BASE (0x10000000UL)
|
||||
|
Loading…
Reference in New Issue
Block a user