Commit graph

62 commits

Author SHA1 Message Date
penfold42
94f579fc08 Alt-A now works from any folder 2018-07-27 23:56:42 +10:00
penfold42
d15641e57f Alt-A from browser load the automountimage 2018-07-27 23:43:49 +10:00
penfold42
2f023ab756 Compiler warnings
width and height to PlotRawImage
2018-07-26 14:57:57 +10:00
penfold42
f0ee85d022 implement height and width 2018-07-26 13:28:37 +10:00
penfold42
5f8b173155 LCD type is now an enum 2018-07-26 11:06:21 +10:00
Stephen White
5fda5024f7 Incremented build version. 2018-07-22 18:52:35 +10:00
penfold42
1039cca757 Merge branch 'deviceID' into autonewdisk
Conflicts:
	src/main.cpp
2018-07-21 13:23:37 +10:00
penfold42
709809281f Can now change device ID in browse mode with keyboard 8,9,0,- and F8..F11
Maximum rom images is now 7 (down from 8)
2018-07-21 13:07:14 +10:00
penfold42
876f417edd auto generated filename can be specified in options.txt with:
AutoBaseName = autoname
2018-07-20 12:30:20 +10:00
penfold42
53de164fbe Press N to crete a new .d64 image
Still need to implement finding the highest existing numbered filename
2018-07-19 23:49:08 +10:00
penfold42
9d10bcb3ef Scratch and New now refresh the browser view
Using the keyboard to exit emulation no longer CD /
2018-07-19 18:28:56 +10:00
penfold42
97eb27bf7a Merge branch 'master' of https://github.com/pi1541/Pi1541 into i2cdetect 2018-07-17 19:53:19 +10:00
penfold42
c223b7aa57 i2c scanning is now optional: i2cScan = 1
prints the 7 bit addresses in decimal
2018-07-17 18:25:15 +10:00
penfold42
1ed6fd45cd Inital support for I2C bus scanning
- needs to be configurable
- needs to NOT trash the i2c bus when finished
2018-07-17 14:58:26 +10:00
penfold42
ca2aa5e09f Code cleanups 2018-07-17 09:37:53 +10:00
penfold42
91ead26b2b SH1106 support now works 2018-07-16 22:46:53 +10:00
Stephen White
30f1d4747e Fixed crash bug when using without an OLED LCD 2018-07-16 19:40:42 +10:00
Stephen White
9f0e610663 Incremented version number. 2018-07-15 19:18:58 +10:00
Stephen White
3346ef6cf5 Added horizontal scrolling of long filenames. 2018-07-15 18:46:49 +10:00
penfold42
c6c79d9c81 Escape will now exit an automounted image without re-autoloading it 2018-07-13 18:04:37 +10:00
penfold42
12eeeea575 Separate oled hardware init routine from open
add LCD ClearInit which also re-inits the hardware

workaround for display corruption on startup
2018-07-06 23:35:17 +10:00
penfold42
02f19df0cf moved ssd1306 logic to options.cpp 2018-07-04 12:25:47 +10:00
penfold42
b101e8f635 if LcdLogoName != 1541ii nor 1541classic, try to load file from SD card 2018-07-04 11:48:55 +10:00
penfold42
34c75658eb LcdLogoName = 1541ii (or 1541classic) 2018-07-03 21:26:01 +10:00
Stephen White
f484dea75f Debounce reset 2018-07-01 04:00:47 +10:00
Stephen White
ef975f0721 Incremented build version. 2018-06-24 14:41:28 +10:00
Stephen White
c41ea162a2 Added the option to auto mount a disk image (when resetting)
This will enable poeple to use AR6, EFL or FC3 to load fb64. To do so create a disk image with FB64 on it. copy it to the SD card's 1541 folder. add the line "autoMountImage = fb.d64" to options.txt. Now whenever the drive is reset it will automatically mount the disk image. As it is emulating people can use their cart of choice to load it. Once loaded they can simply back out of the image and browse the SD card as usual.
2018-06-24 14:37:11 +10:00
Stephen White
99ddf7c31f Merge branch 'early_oled' of https://github.com/penfold42/Pi1541 into penfold42-early_oled 2018-06-24 13:39:49 +10:00
Stephen White
270650751c Resolved merge confilicts for push "Ssd1306 OLED startup logo #26" 2018-06-24 13:24:26 +10:00
penfold42
8f67aef459 Add LCD contrast control
i2cLcdOnContrast = 127 // (0..255)
UNTESTED sh1106 support
	LCDName = sh1106_128x64
2018-06-23 13:58:05 +10:00
penfold42
f0e90cf385 Also change VCOMDeselect when changing contrast 2018-06-23 12:52:54 +10:00
penfold42
bd8a31604c Added SetContrast functions 2018-06-22 22:32:54 +10:00
penfold42
3242a517b3 Ground work for sh1106 and brightness controls
- just options parsing
2018-06-22 09:31:13 +10:00
Stephen White
cf64cf1c2e Fixed bug - when backing out of a disk image the disk would not be written back. 2018-06-19 19:11:26 +10:00
Stephen White
34e53d7ea7 Incremented build number. 2018-06-17 19:05:14 +10:00
penfold42
0f536925bc Added i2cLcdFlip = 0/1 to flip display 180 deg 2018-06-16 00:01:02 +10:00
Stephen White
8a25afaeb0
Merge pull request #21 from penfold42/gpiosound
Gpio sound duration and frequency
2018-06-12 22:42:33 +10:00
penfold42
e05d6b0f28 Updated gpio sound options
soundOnGPIODuration = 1000 // in mSecs (1000 = 1 second)
soundOnGPIOFreq = 1200	// in Hz as it should be
2018-06-12 21:39:08 +10:00
Stephen White
99f385ecf3 "Saving Complete" message is now displayed only if disk images were written back 2018-06-12 19:17:00 +10:00
penfold42
cd7f8e3fef added soundOnGPIOCounter soundOnGPIOFreq to options.txt 2018-06-12 11:17:52 +10:00
Stephen White
e0cc14afeb Invremented build version. 2018-06-11 19:36:05 +10:00
Stephen White
3e83a57349 Each disk write back is now displayed on screen(s) when modified images are unmounted. 2018-06-11 19:31:24 +10:00
Stephen White
a838a57a5f
Merge pull request #16 from penfold42/LcdAddress
Add i2cLcdAddress option
2018-06-09 19:02:16 +10:00
Stephen White
c605ff6b0d Fixed the auto reset bugs introduced in v1.03 2018-06-07 20:20:57 +10:00
penfold42
f270abde43 Add i2cLcdAddress = 60 option
Note, this is in decimal and is "pre" shifting to the left.
60 decimal = 0x3c will drive an oled module set to "0x78"
61 decimal = 0x3d will drive an oled module set to "0x7a"
2018-06-07 19:00:39 +10:00
Stephen White
b3088df3d2 Added track # display to the LCD screen. 2018-06-06 19:09:13 +10:00
Stephen White
091c785875 Added option for to select what I2C bus to use.
Also enabled the options file to be larger.
2018-06-04 19:11:15 +10:00
Stephen White
e292de1179 Added support for ssd1306 128x64
Options.txt needs the line;-
LCDName = ssd1306_128x64
and depending upon how you want the keyboard's pgup and pgdown keys to work;-
keyboardBrowseLCDScreen = 1

Splits lines connect
SDA to GPIO 2 pin 3
SCL to GPIO 3 pin 5

Non-split lines
SDA to GPIO 0 pin 27
SCL to GPIO 1 pin 28
2018-06-03 18:11:58 +10:00
Stephen White
fdac3079dd Cleaned up the double handling of the options variables. 2018-06-03 17:54:36 +10:00
Stephen White
f1623f64c6 Optimised and improved compatability for inverted split lines hardware configuration. 2018-06-03 17:43:36 +10:00