In Arduino IDE preferences "show verbose output during compile" and you should see them in the normal output now.
Search found 11 matches
- Sat Aug 12, 2023 6:04 pm
- Forum: USB bootloader
- Topic: Using PlatformIO
- Replies: 3
- Views: 5044
- Sat Jul 08, 2023 1:00 pm
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2046
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
Just an a idea for experiment: Attach interrupt on RW falling, and if DS is low grab data? It would trigger on every write, but writes on 6502 is not so often. As long as ISR is shorter than 4µS, it should be working for latency up to 800, maybe 900nS. Thanks for that. I'm going to see how far I ca...
- Fri Jul 07, 2023 11:28 am
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2046
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
That code was for Apple 2. OH!! Hahaha, got it yes :D Anyway, by looking at datasheet you posted in first post, i still think you need to experiment and see what timings give you predictable result. Yes totally agree with those timings. It's the bare metal timings on the bluepill that I need to lea...
- Thu Jul 06, 2023 6:36 pm
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2046
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
Try to get CPU at known state, run some simple program... I've never run asm directly in a sketch but I'll look for examples, I've seen it in other people's code. Maybe add some pin toggle as a test for digital analyzer. Good idea, this should be a good exercise and I can use the oscilloscope. Mayb...
- Wed Jul 05, 2023 10:18 pm
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2046
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
Bakisha I tested with both variations. I assume you meant PB_6 (BUS00) not PB_5. while( (GPIOB->IDR) & (1<<6) ) { // output is always 00000000 00000000 00000000 00000000 while(digitalReadFast(PB_6)==LOW){ // output is always 00000000 00000000 01111111 00111000 I double checked the wiring to mak...
- Wed Jul 05, 2023 9:58 pm
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2046
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
@Bakisha I didn't write the displayBits32 function, but I did just test it:
Output:
So appears to be working?
I'm going to adjust the sketch with your changes and re-run, I'll post again shortly.
Code: Select all
uint32_t test = 0x12345678;
displayBits32(test);
Code: Select all
00010010 00110100 01010110 01111000
I'm going to adjust the sketch with your changes and re-run, I'll post again shortly.
- Wed Jul 05, 2023 6:45 pm
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2046
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
ag123 thanks for bridge chip suggestion! As I understand it PortB is 5V "Tolerant" - does this mean I should have external 5V pull-up's on the pins? Yes, the stm32 is 72x faster than the Apple2, so I'm sure we can read & write easily once the timing & circuitry is sorted :) dannyf...
- Wed Jul 05, 2023 6:39 pm
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2046
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
Bakisha I tried your suggestion. Seems no matter what data I write the output is always: 00000000 00000000 00100000 01011000 Sketch Code: // attach interrupt at falling edge of DS , and while BUS00 is low, keep reading data bus... // output is always 00000000 00000000 00100000 01011000 // Control S...
- Wed Jul 05, 2023 12:23 am
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2046
Re: Can’t read AppleII 8-bit Data Bus with Blue Pill
Just to be sure the machine language code was correct I connected a logic analyzer to the bus for each command and confirmed the data bus is correct: (Edit: the images are hard to read, I put a red circle around the data bus values which match up with the commands) C0E0-00 Apple Bus C0E0-00.jpg C0E0...
- Wed Jul 05, 2023 12:19 am
- Forum: General discussion
- Topic: Can’t read AppleII 8-bit Data Bus with Blue Pill
- Replies: 19
- Views: 2046
Can’t read AppleII 8-bit Data Bus with Blue Pill
I designed an AppleII peripheral card with breakouts for the expansion slot and BluePill as an experimental project to interface the two: CardInSlot.jpg The timing diagram for this type of computer is fairly well known ( see here , page 69,70) WriteToPeripheral.PNG Problem is when the bus is read (G...