Search found 3685 matches

by paulv
Wed Oct 17, 2018 6:55 pm
Forum: hardware
Topic: (Yet another) A5000 restoration
Replies: 2
Views: 100

Re: (Yet another) A5000 restoration

mattdy4 wrote:
Sun Oct 07, 2018 3:44 pm
Props to Paul for the A5000 and to my primary source for information on fixing it - https://www.retro-kit.co.uk/page.cfm/co ... -an-A5000/
Umm, my site yes but I haven't got rid of any of my kit... Unless it was another Paul that sold it to you :?:

Paul
by paulv
Wed Oct 17, 2018 2:57 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

That's good. It may be worth having a MSVC definitions file so we could simply say: #ifdef _MSC_VER #include "vs-includes/defines.h" #endif That would keep it nice and separate and relatively easy to maintain. That's a good idea. b-em.h can have this exact code in it for the main executable but any...
by paulv
Tue Oct 16, 2018 2:39 pm
Forum: for sale / freebies
Topic: For Sale: IDE Podules again
Replies: 22
Views: 676

Re: For Sale: IDE Podules again

Hi Ian - this thread is almost a decade old, but would you have any IDE/CF podules for an A310? Thanks Steve Is only a few week old. I suspect you were looking at Ian's date of joining. He's only recently done a run so it may be a while before another run happens unless there's sufficient interest ...
by paulv
Tue Oct 16, 2018 11:57 am
Forum: hardware
Topic: Raspberry Pi to 1MHz bus interface
Replies: 17
Views: 347

Re: Raspberry Pi to 1MHz bus interface

I'm sure a Raspberry Pi floppy disc is a possibility... Technically, that's been done using Linux as a server on the Pi and a bit of custom jukebox server code with a hacked DFS and custom user port to USB cable that emulates a SCSI type system to pull data over the cable. IIRC. It was done around ...
by paulv
Mon Oct 15, 2018 10:20 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

I did originally use sndfile in a proof of concept for recording but I thought I had removed it in favour of direct writing of a WAV header specifically because I didn't know how easy it would be to get sndfile working in VS or even on Windows with MingW. I will check if it builds on Linux without ...
by paulv
Mon Oct 15, 2018 10:16 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

There are probably many changed lines but there is an overall approach which is to take all the variables that implement the state of a Music 5000 and stuff them in a structure so there can then be two of the same structure. Yes, I'd spotted the "synth" structure which had been introduced to wrap u...
by paulv
Mon Oct 15, 2018 9:01 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Just as an aside, the stardot master which I forked didn't have the Music 3000 support in it... Paul, I am not sure from your description exactly what you have done here. Did you find the branch https://github.com/stardot/b-em/tree/sf/music3000 with the Music 3000 support and apply your VS changes ...
by paulv
Mon Oct 15, 2018 4:49 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Just as an aside, the stardot master which I forked didn't have the Music 3000 support in it so today I took a look at what would be required for me to get the basics up and running to test it. It turns out it didn't take a lot although it requires another Nuget package for a MSVC port of libsound t...
by paulv
Mon Oct 15, 2018 8:56 am
Forum: hardware
Topic: Raspberry Pi to 1MHz bus interface
Replies: 17
Views: 347

Re: Raspberry Pi to 1MHz bus interface

I'd be interested in two please.

Paul
by paulv
Mon Oct 15, 2018 12:15 am
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Code: Select all

al_init_primitives_addon();
Needed to be called to initialise things correctly so I've added it into vidalleg.c and it seems to work OK.

Paul
by paulv
Mon Oct 15, 2018 12:08 am
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

In other news, I believe I have found a genuine issue with the Visual Studio build. If I attempt to go "Full Screen", I get an access violation in allegro-5.2.dll when calling the following code in vidalleg.c // fill the gap between the left screen edge and the BBC image. al_draw_filled_rectangle(0...
by paulv
Sun Oct 14, 2018 11:38 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

In other news, I believe I have found a genuine issue with the Visual Studio build. If I attempt to go "Full Screen", I get an access violation in allegro-5.2.dll when calling the following code in vidalleg.c // fill the gap between the left screen edge and the BBC image. al_draw_filled_rectangle(0,...
by paulv
Sun Oct 14, 2018 10:58 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Wow! - it's not supposed to be *that* stressful, but I suppose any failure means it's doing its job ;) I'd be interested to know what the problem turns out to be. --Tom FST tries to save a file called "+.0" to the filing system. This gets translated to &.0 in the VDFS but later looks like it's refe...
by paulv
Sun Oct 14, 2018 10:18 pm
Forum: software: other
Topic: Music 500/5000 software/music
Replies: 45
Views: 794

Re: Music 500/5000 software/music

Please feel free to host them. I think it's worth having as many copies as possible. I'd appreciate a mention and a link back to the above thread if possible. Your wish is my command! There is now an "About the Archive" pod on the RHS of every Hybrid Music page on my site, recognising the contribut...
by paulv
Sun Oct 14, 2018 9:40 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

If you want an additional test suite, I've attached the one I used for BeebLink, which (amongst other things) tests a few OSGBPB cases. It's all automated, so it either gets to the end, or craps out with a STOP if something unexpected happens. This test suite kills both my VS build and the MinGW bu...
by paulv
Sun Oct 14, 2018 9:30 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Ok, well those tests seem to run quite happily OSFILE.png finaltests.png In addition, I loaded the BCPL ROM directly from the VDFS using SRLOAD so that seems to be OK. Finally, I wrote a small BASIC Hello World ditty and saved it to the VDFS root. test.png It CHAIN's just fine :D HelloW.png Paul
by paulv
Sun Oct 14, 2018 6:50 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

The fork is available here: https://github.com/newmediadev/b-em It still compiles with no errors or warnings on Linux with gcc 8.2.1 and the resulting executable runs. Also, on Windows with MingW. Just Mac to go then, or were you hoping someone else with Visual Studio will check that what you have ...
by paulv
Sun Oct 14, 2018 2:22 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Well done, Paul, on finally getting this sorted. I just logged on to mention getting your changes merged back into the stardot repository and you're already thinking about it. If you're not already registered as a contrubutor to the stardot repository that would good to do. There is a thread on her...
by paulv
Sat Oct 13, 2018 11:44 pm
Forum: hardware
Topic: BBD B+ Issues..please help
Replies: 20
Views: 495

Re: BBD B+ Issues..please help

If it's a flaky chip with potential heat issues, why not try some freezer spray on each chip in turn in the keyboard control circuit to see if cooling the chip prolongs the period of functional use? That seems easier than replacing them all one by one....

Paul
by paulv
Sat Oct 13, 2018 12:12 pm
Forum: development tools
Topic: Request membership of the Stardot organisation on GitHub here
Replies: 56
Views: 5332

Re: Request membership of the Stardot organisation on GitHub here

Could you please add me?

My GitHub username is newmediadev.

Thanks

Paul
by paulv
Sat Oct 13, 2018 12:08 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Just wanted to say massive thanks for doing this. Being able to build and run B-Em under VS2017 would be great! Thanks. I was just doing it for a bit of fun really and it'd be nice to contribute to the project if only in small ways here and there once in a while so having it build in the DevEnv I'm...
by paulv
Sat Oct 13, 2018 8:02 am
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Ok, it's building in VS 2017 with sound and the menu's are working :D

The issue was configuration of the environment again. I needed to exclude the debug lib files in the Allegro folder that Nuget created.

https://youtu.be/LpfSbp3o44I

EDIT: No errors, No warnings...
NoE-NoW.png
Paul
by paulv
Sat Oct 13, 2018 7:16 am
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

So, I tried this, which works in gcc, does it work in VS: static inline void put_pixels(ALLEGRO_LOCKED_REGION *region, int x, int y, int count, uint32_t colour) { char *ptr = (char *)region->data + region->pitch * y + x * region->pixel_size; while (count--) { *(uint32_t *)ptr = colour; ptr += regio...
by paulv
Fri Oct 12, 2018 9:36 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Does disabling these on the settings menu make any difference. You may need to edit the b-em.cfg to get them to be off initially: [sound] sndinternal=true sndbeebsid=true sndmusic5000=true snddac=false sndddnoise=true sndtape=false i.e. set these all to false. Once you started it at least once, the...
by paulv
Fri Oct 12, 2018 9:06 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Paul I don't think much of the resource file is used. The menu is created via Allegro which presumably does so dynamically rather than use these resources. Now you've got this far it is probably worth checking out the _DEBUG - see logging.h for a description. That should help to see why it has exit...
by paulv
Fri Oct 12, 2018 8:49 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

VS-Bem-NOSOUND.png Well, I've managed to narrow down the source of the Access Violation to an external dll that is only triggered if the sound sub systems are enabled. If I comment out all the sound related initialisation routines in main_init() and also any calls to sid_reset(), music4000_reset() ...
by paulv
Fri Oct 12, 2018 7:53 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

More progress. Going through the linker logs, I found that when the linker was running, the debug AND release folder paths were being passed to the linker so it was including *every* object file twice. Excluding the debug and release folders from the project solved the duplicate issue and allowed me...
by paulv
Fri Oct 12, 2018 7:08 pm
Forum: software: other
Topic: Music 500/5000 software/music
Replies: 45
Views: 794

Re: Music 500/5000 software/music

I'm happy to host any scans of Hybrid documentation that I don't already have on the site :D

Paul
by paulv
Fri Oct 12, 2018 6:14 pm
Forum: emulators
Topic: Building B-em with Visual studio
Replies: 56
Views: 610

Re: Building B-em with Visual studio

Progress, I think. It seems the linker is failing at the last stage now when trying to combine the object files with the resource file to build the exe. When opening the b-em.rc file in Visual Studio, it gags because there are duplicates within the resource file. PUSHBUTTON "CLK", Button1+KEY_CAPSLO...