Search found 467 matches

by myelin
Thu Jun 14, 2018 6:26 pm
Forum: introduce yourself
Topic: Hello from Charlottesville, VA, USA!
Replies: 15
Views: 632

Re: Hello from Charlottesville, VA, USA!

Welcome! And that is a *very* clean looking Beeb! The motherboard and keyboard look brand new...
by myelin
Wed Jun 13, 2018 8:11 pm
Forum: hardware
Topic: IDE interfaces - hardware details
Replies: 64
Views: 2996

Re: IDE interfaces - hardware details

Would you be open to uploading the .sch files (pictured in the PDFs), and possibly your kicad_pcb file with everything except the connectors and board layout deleted, for interested folks to use as a starting point? (That way we can build on a verified base.) Here are my KiCad projects, I encourage...
by myelin
Tue Jun 12, 2018 6:13 am
Forum: off-topic
Topic: ST micro ARM boards....
Replies: 10
Views: 607

Re: ST micro ARM boards....

Based on? You have to read the datasheet to see which IO are FT as some are but not others. The F103 has a dozen or so FT GPIO in the QFP on the cheap boards. Huh... and you're right. I just rechecked the STM32F103x8/xB datasheet, and it says that almost all the GPIO pins are 5V tolerant. I wonder ...
by myelin
Tue Jun 12, 2018 4:08 am
Forum: hardware
Topic: Electron unstable/fails to boot when Plus 1 is connected
Replies: 21
Views: 1996

Re: Electron unstable/fails to boot when Plus 1 is connected

Gave up and just started snipping pins... finally found that IC6 was the culprit. Snipping its pin 1 made the machine boot again, although the Plus 1 ROM and MGC were invisible. Scoping IC6 pin 1 showed that it was sitting around 0.1V, which would have kept the bank select register cleared. Tying it...
by myelin
Mon Jun 11, 2018 10:52 pm
Forum: hardware
Topic: Electron unstable/fails to boot when Plus 1 is connected
Replies: 21
Views: 1996

Re: Electron unstable/fails to boot when Plus 1 is connected

Usually with this sort of issue, there is a low resistance path to ground inside the failed chip. Start by measuring the resistance with the Plus one disconnected. It's probably a few hundred ohms. (Try the meter lead both ways around). Good thinking! My meter measured a total open circuit in one d...
by myelin
Mon Jun 11, 2018 8:02 pm
Forum: off-topic
Topic: ST micro ARM boards....
Replies: 10
Views: 607

Re: ST micro ARM boards....

Note that the STM32F103 (Cortex-M3) chips used in the cheap boards from China are not 5V tolerant. I believe the STM32F407 (Cortex-M4) chip used in the STM32 F4 DISCOVERY board has a lot of GPIOs that are 5V tolerant and use TTL signalling levels, so they can be connected directly to 80s/90s hardwa...
by myelin
Mon Jun 11, 2018 5:00 pm
Forum: hardware
Topic: Electron unstable/fails to boot when Plus 1 is connected
Replies: 21
Views: 1996

Re: Electron unstable/fails to boot when Plus 1 is connected

If you haven't found the Plus 1 schematic, it's attached. The reset line goes to 4 x ICs! Could be a short or a faulty IC i.e. one of the input's doing the pulling-down . . . Yep... one for the bank select latch, and three for the parallel port (main buffer, status input, and strobe output). I'm gu...
by myelin
Mon Jun 11, 2018 6:05 am
Forum: hardware
Topic: Electron unstable/fails to boot when Plus 1 is connected
Replies: 21
Views: 1996

Re: Electron unstable/fails to boot when Plus 1 is connected

Figured out part of what's going on... scoping up the reset pin, it's glitching low in sync with the rising edge of PHI0: Screenshot 2018-06-10 22.59.01 reset glitches.png I realized that I can get the same red/yellow pattern on screen by holding down BREAK on startup, so this confirms that the prob...
by myelin
Mon Jun 11, 2018 4:47 am
Forum: hardware
Topic: Electron unstable/fails to boot when Plus 1 is connected
Replies: 21
Views: 1996

Re: Electron unstable/fails to boot when Plus 1 is connected

Going through a lot of my old hardware right now to get it ready for exhibition at VCF West with 8bitkick and Lion , and the key thing to get going is my Plus 1... time to take another look at it :) I tried the fibre pencil approach when Dave suggested it (over a year ago now!) but it's still flaky:...
by myelin
Fri Jun 08, 2018 9:01 pm
Forum: emulators
Topic: Which is the canonical Elkulator repository?
Replies: 5
Views: 393

Re: Which is the canonical Elkulator repository?

GitHub would be great. I'm starting to understand Mercurial and Bitbucket a bit better after submitting a few changes to Arculator, but I'm still much more familiar with Git :)
by myelin
Thu Jun 07, 2018 4:41 pm
Forum: emulators
Topic: Which is the canonical Elkulator repository?
Replies: 5
Views: 393

Which is the canonical Elkulator repository?

I'm doing some work with Elkulator (getting it to replay bus cycles recorded from a real machine) and there seem to be several repositories around, none of which claims to be the canonical one. I'm guessing David Boddie's Bitbucket repo is the one to go with... is that right?
by myelin
Thu Jun 07, 2018 12:39 am
Forum: hardware
Topic: IDE interfaces - hardware details
Replies: 64
Views: 2996

Re: IDE interfaces - hardware details

As some of you may have noticed, with the help of John Kortink I've made and sold a few IDE interfaces. The building and posting of PCB's is not something I want to do long-term, so I'm making the designs available, so anyone can make IDE interfaces. This is awesome! Thank you Ian! I'm not currentl...
by myelin
Wed Jun 06, 2018 9:56 am
Forum: hardware
Topic: Electron Plus 3, some questions.
Replies: 15
Views: 552

Re: Electron Plus 3, some questions.

You should have a cream-coloured self adhesive label, which must be fixed to the Electron before attaching the Plus 3. This label is made from a metallic substance, and its purpose is to provide an electromagnetic field between the Electron and the Plus 3. This will improve the performance of your ...
by myelin
Tue Jun 05, 2018 12:59 pm
Forum: hardware
Topic: Open Source Logic Analyzer Experiments
Replies: 208
Views: 12762

Re: Open Source Logic Analyzer Experiments

A project suggestion for anyone looking for one: embed 6502Decoder into b-em so you can capture machine state from a real machine and resume in the emulator (or use an attached machine as a monitor). Update: I've started on this, except with Elkulator, because I'm hoping to show off my heavily modif...
by myelin
Tue Jun 05, 2018 9:20 am
Forum: hardware
Topic: Myelin's FX2 Tube/Cartridge Adapter - Development and Support
Replies: 46
Views: 2529

Re: Myelin's FX2 Tube/Cartridge Adapter - Development and Support

It shouldn’t be hard to adapt this code to run directly on a Pi, using its GPIO pins for the JTAG connection. Will have to look into that when I’m back :) It’s also possible that openocd already supports this Pi GPIO method (see: https://electronics.stackexchange.com/a/101482 ), in which case you ca...
by myelin
Tue Jun 05, 2018 8:17 am
Forum: hardware
Topic: Myelin's FX2 Tube/Cartridge Adapter - Development and Support
Replies: 46
Views: 2529

Re: Myelin's FX2 Tube/Cartridge Adapter - Development and Support

I checked in my cpld programming notes: https://github.com/google/myelin-acorn-electron-hardware/blob/master/notes/pld_programming_and_jtag.md Also started on a simple cpld programmer Arduino sketch, which should make it possible to program the cplds on my boards with just an Arduino Leonardo or Pro...
by myelin
Mon Jun 04, 2018 12:28 pm
Forum: hardware
Topic: Myelin's FX2 Tube/Cartridge Adapter - Development and Support
Replies: 46
Views: 2529

Re: Myelin's FX2 Tube/Cartridge Adapter - Development and Support

That’s right... I’ve started committing .bit and .svf files into git, so people can do that, but have been fairly haphazard about it so far. Need to do a proper sweep through all the projects and bring them all up to date!
by myelin
Mon Jun 04, 2018 10:20 am
Forum: hardware
Topic: Myelin's FX2 Tube/Cartridge Adapter - Development and Support
Replies: 46
Views: 2529

Re: Myelin's FX2 Tube/Cartridge Adapter - Development and Support

Ah yes, that’s on my to do list :)

I use xc3sprog to program my CPLDs, and embed libxsvf into all the boards with MCUs so they can be programmed without a separate cable, but I haven’t documented much at all of this :/
by myelin
Thu May 31, 2018 5:50 pm
Forum: emulators
Topic: Econet for Arculator (and other emulators)
Replies: 13
Views: 847

Re: Econet for Arculator (and other emulators)

Sounds like an excellent plan! It looks like Arculator and RPCEmu already do this, at least for the simple case (no configuration, no complicated magic like video)... here's the interface podules have to implement to be dynamically loadable: typedef struct podule { void (*writeb)(struct podule *p, i...
by myelin
Thu May 31, 2018 10:27 am
Forum: emulators
Topic: Econet for Arculator (and other emulators)
Replies: 13
Views: 847

Econet for Arculator (and other emulators)

Just in case anyone is interested (or also working on this), I've started on an Econet implementation for Arculator. It's a high-level model of the MC68B54 chip as found in MAME and BeebEm, and I'm intending on supporting AUN, so it should be able to talk to aund and beebem's AUN code (and maybe RPC...
by myelin
Sat May 26, 2018 8:05 pm
Forum: emulators
Topic: B-Em
Replies: 395
Views: 25616

Re: B-Em

I've been under the impression that the only Acorn emulator that worked on macOS was Clock Signal, but I just built the sf/allegro5 branch of b-em, and it ran just fine, with only minor tweaks (here's the PR) to get it to build!

Nice work :D
by myelin
Thu May 24, 2018 8:07 am
Forum: emulators
Topic: Mac Arculator
Replies: 31
Views: 2381

Re: Mac Arculator

First pull request on the way! Not much actual Mac support stuff in there so far; I'm trying to clear out all the straightforward stuff (logging, basic tidying etc) to get the final diff down to a manageable size. (Expect a lot more commits in the same vein -- I've already done all the deduplication...
by myelin
Wed May 23, 2018 8:51 pm
Forum: emulators
Topic: Mac Arculator
Replies: 31
Views: 2381

Re: Mac Arculator

I tried increasing the screen memory (by clicking on the Acorn icon and dragging the bar up to 480kB, from the previous value of 96kB), but the same error occurred. It looks like the screen memory had been reset back down to 96kB afterward, so maybe !SICK modifies it as well...?
by myelin
Wed May 23, 2018 8:20 pm
Forum: emulators
Topic: Mac Arculator
Replies: 31
Views: 2381

Re: Mac Arculator

I added in the SDL_SetRelativeMouseMode/SDL_SetWindowGrab calls from PCem, and now it captures and releases the mouse. I'll start looking at tidying up the diffs and pushing this to BitBucket over the next few days :) This self-extracting SparkPlug archive worked , after editing !Run and commenting ...
by myelin
Wed May 23, 2018 4:15 pm
Forum: emulators
Topic: Mac Arculator
Replies: 31
Views: 2381

Re: Mac Arculator

I'm unclear as to what I changed (something trivial like putting braces around something to add debug output, I'm guessing) but last night it started getting to the purple/blue POST screen, then crashing with a data abort as soon as doosmouse() ran (its writes to 0x5B8 and 0x5B4 failed), which sent ...
by myelin
Wed May 23, 2018 1:31 am
Forum: emulators
Topic: Mac Arculator
Replies: 31
Views: 2381

Re: Mac Arculator

Here's what I think is happening. This is the code that's running: .data:0381158c 0d 15 a0 e3 mov r1, #54525952 ; 0x3400000 ; r1 = vidc .data:03811590 b8 20 4f e2 sub r2, pc, #184 ; 0xb8 ; r2 = pc-184 .data:03811594 04 00 92 e4 ldr r0, [r2], #4 .data:03811598 01 00 70 e3 cmn r0, #1 ; exit when we re...
by myelin
Tue May 22, 2018 10:50 pm
Forum: emulators
Topic: Mac Arculator
Replies: 31
Views: 2381

Re: Mac Arculator

Here's the current dump on shutdown (with the latest updates pulled in) -- R 0=228C0F6A R 4=00000000 R 8=7FFFFFB6 R12=2F802B0F R 1=03400000 R 5=08000000 R 9=036E018C R13=00400000 R 2=03816098 R 6=20000000 R10=0F802C9F R14=5F81158F R 3=FFFFFFFF R 7=00001F3C R11=80000003 R15=3F8115A3 2834004 E4920004 ...
by myelin
Tue May 22, 2018 9:06 pm
Forum: emulators
Topic: Mac Arculator
Replies: 31
Views: 2381

Re: Mac Arculator

Looks like f12 is staying at zero, so maybe the POST isn't failing.

Trying to merge in your latest changes -- is video.h missing from the commit?
by myelin
Tue May 22, 2018 7:08 pm
Forum: emulators
Topic: Mac Arculator
Replies: 31
Views: 2381

Re: Mac Arculator

I gave all those a try, without much luck :) Each one gave an interesting new kind of glitch display, aside from no_borders = 1, which gave me a blank screen. I'll pull your latest updates and give it a try! It seems likely that my issue lies with whatever's (not) setting memc_videodma_enable... I a...
by myelin
Tue May 22, 2018 4:31 pm
Forum: emulators
Topic: Mac Arculator
Replies: 31
Views: 2381

Re: Mac Arculator

What's in arc.cfg? There are a few bugs in the video code currently, and you may be using one of the configurations that currently doesn't work. It's entirely possible that 'configurations that don't work' includes whatever's set as default... I don't think I provided an arc.cfg, but Arculator seem...