mirror of
https://github.com/una1veritas/mac-floppy-emu.git
synced 2024-06-01 09:41:27 +00:00
source
This commit is contained in:
parent
87d2b6dfce
commit
0a8a67e352
1
floppy-emu-source-1.0L-F11/AVR/.gitignore
vendored
Normal file
1
floppy-emu-source-1.0L-F11/AVR/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/Debug/
|
|
@ -0,0 +1,7 @@
|
||||||
|
avrtarget/ClockFrequency=16000000
|
||||||
|
avrtarget/ExtRAMSize=0
|
||||||
|
avrtarget/ExtendedRAM=false
|
||||||
|
avrtarget/MCUType=atmega1284p
|
||||||
|
avrtarget/UseEEPROM=false
|
||||||
|
avrtarget/UseExtendedRAMforHeap=true
|
||||||
|
eclipse.preferences.version=1
|
|
@ -0,0 +1,11 @@
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/LANG/delimiter=\:
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/LANG/operation=append
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/LANG/value=en-US
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/append=true
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/appendContributed=true
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/LANG/delimiter=\:
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/LANG/operation=append
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/LANG/value=en-US
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/append=true
|
||||||
|
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/appendContributed=true
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include <Sd2Card.h>
|
#include <Sd2Card.h>
|
||||||
#include "..\millitimer.h"
|
#include "../millitimer.h"
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
#ifndef SOFTWARE_SPI
|
#ifndef SOFTWARE_SPI
|
||||||
|
|
|
@ -30,12 +30,14 @@
|
||||||
#include "diskmenu.h"
|
#include "diskmenu.h"
|
||||||
#include "cardtest.h"
|
#include "cardtest.h"
|
||||||
|
|
||||||
|
#ifdef PROGMEM_WORKAROUND
|
||||||
// work-around for compiler bug
|
// work-around for compiler bug
|
||||||
#undef PROGMEM
|
#undef PROGMEM
|
||||||
#define PROGMEM __attribute__(( section(".progmem.data") ))
|
#define PROGMEM __attribute__(( section(".progmem.data") ))
|
||||||
#undef PSTR
|
#undef PSTR
|
||||||
#define PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))
|
#define PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))
|
||||||
|
#endif
|
||||||
|
|
||||||
#define STATUS_LED_PORT B
|
#define STATUS_LED_PORT B
|
||||||
#define STATUS_LED_PIN 3
|
#define STATUS_LED_PIN 3
|
||||||
|
|
||||||
|
@ -213,4 +215,4 @@ void CardTest()
|
||||||
|
|
||||||
|
|
||||||
while(1);
|
while(1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,11 +31,13 @@
|
||||||
#include "ports.h"
|
#include "ports.h"
|
||||||
#include "diskmenu.h"
|
#include "diskmenu.h"
|
||||||
|
|
||||||
|
#ifdef PROGMEM_WORKAROUND
|
||||||
// work-around for compiler bug
|
// work-around for compiler bug
|
||||||
#undef PROGMEM
|
#undef PROGMEM
|
||||||
#define PROGMEM __attribute__(( section(".progmem.data") ))
|
#define PROGMEM __attribute__(( section(".progmem.data") ))
|
||||||
#undef PSTR
|
#undef PSTR
|
||||||
#define PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))
|
#define PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))
|
||||||
|
#endif
|
||||||
|
|
||||||
// I/O pin assignments
|
// I/O pin assignments
|
||||||
#define CPLD_RESET_PORT B
|
#define CPLD_RESET_PORT B
|
||||||
|
@ -2014,4 +2016,4 @@ restart: ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -306,7 +306,7 @@ void LcdClear(void)
|
||||||
|
|
||||||
void LcdReset(void)
|
void LcdReset(void)
|
||||||
{
|
{
|
||||||
lcd_vop = 0xBF;
|
lcd_vop = 0xa4; //0xBF;
|
||||||
lcd_bias = 0x14;
|
lcd_bias = 0x14;
|
||||||
lcd_tempCoef = 0x04;
|
lcd_tempCoef = 0x04;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user