Comments (9)
Change the definitions of O_TRUE and O_FALSE themselves. Should work.
from greaseweazle.
Thanks, I disabled the above change and edited the O_TRUE and O_FALSE as suggested. Then I also had to change the pin configuration for the GPO_bus:
#define GPO_bus GPO_pushpull(IOSPD_LOW, HIGH)
from greaseweazle.
That's surprising. Are you patching against tip of master branch?
from greaseweazle.
Not sure what you mean by "tip".
I used the Greaseweazle-0.19 source package and made changes to src/floppy.c and src/f1/floppy.c as needed then did a "make dist".
The changes involved the redefine of O_FALSE and O_TRUE, changing some of the port lines to suit this boards requirements and also using #define GPO_bus GPO_pushpull(IOSPD_LOW, HIGH)
It was a while ago that I rearranged some of the lines and can't quite remember the full reason but making sure 5V tolerant was used for inputs and possibly a change or two to make routing the board out easier.
I also modified the PIN test code to test the new pin arrangement but I noticed in the background things like drives selection are disabled after a few seconds.
For output buffers I'm using 2N7002 NFETs. These provide the required pull-down capability (I use a 150R res pack in last drive). All the FETs will have have 10k gate pull down resistors fitted because on power-up of the BP it will be high impedance which can cause lines to be in any state until things settled down in the Micro. My earlier board uses 10k pull downs on WG and WD only to prevent corruption of a disk if left in drive but my later board provides 10k for all the FET gates to avoid lines coming on at the start.
I also added support for 4 drives using this method. I moved some of the floppy lines to suit the voltage requirements of my arrangement. On an earlier design I also made changes for the extra drives and modified the Python script to work like the F7 build which I will also do for this 2N7002 board.
I guess I could have set the direction to an input (with weak pull-downs) or high impedance when the output state needs to go to a high and set as output when a low is required. Anyway I just went with the Push-Pull method as it will be quicker to respond given possible gate capacitance issues.
from greaseweazle.
Ok closed, that's fine as solution has been reached, I was just trying to outline what I am doing with this wonderful project. I sent you an email reply about my variation that I hope you will receive and consider.
from greaseweazle.
That's fine, though I have not received an email. If you have code to contribute then the best method is a Pull request. I can then give feedback. I don't recall if we discussed how to differentiate between different boards in a single build of Greaseweazle? We're using PC13-PC15 in the F7 build. Restrospective discussion for hardware already committed to is less good than agreement in advance :)
from greaseweazle.
Sorry Keirf I don't know know about Pull requests, etc. I'll get into Github one day but I'm a bit "old school" and too many other projects on the go to look into it right now.
I just want to supply what I have done but not publicly so you can check it out yourself. My changes are well organised and use "#ifdef FIO2" where I added changes and a couple of minor changes to the Python scripts to allow for 4 Shugart drives.
I can even send you a free PCB. :)
from greaseweazle.
Okay then email is best. But please tell me what you'd like done: Are you looking to have your board supported in the official releases? Or included as a build option in the source? Or what?
from greaseweazle.
ok, sent you an email that works.
from greaseweazle.
Related Issues (20)
- Track overruns should error HOT 6
- Cannot set track step for D88 reader HOT 2
- Flopp HOT 1
- D88: Rewrite and simplify (includes fixing gap3 heuristic) HOT 3
- macOS install fails HOT 3
- Custom disk formats HOT 12
- Custom format enabled, TR-DOS 5.25 disk can read only one side HOT 8
- Correct settings for Atari 8-bit 32K 5.25 floppy? HOT 3
- Another weird Atari 8-bit 5.25 read issue HOT 2
- Blue Pill Direct - Not write HOT 8
- Multiple format on same disk - gw ignores custom format (BETA) HOT 11
- drive letter in windows? HOT 5
- Option for marking of the BAD sectors or leaving bad data. HOT 11
- Crash when using disk definition with different number of sectors per track HOT 2
- Diskdef: Option for sector and/or track padding in IMG file HOT 24
- Support IMD image files HOT 11
- SCP files created with extra tracks HOT 6
- 'NoneType' object has no attribute 'decode_raw' HOT 5
- Update the terrible wiki docs HOT 4
- Feature request: Support MAME's MFI disk image format HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from greaseweazle.