[abc80] How to load .bac files into an ABC80/800 emulator?

Fabrizio Caruso fabrizio_caruso at hotmail.com
Fre Sep 7 00:22:08 PDT 2018


Cool! Thanks Erik!

It works! Unfortunately it is a Windows binary. We would like to integrate it into the C compiler (for all operating systems).
Can we get the source code?

   Fabrizio

________________________________
De : Erik Isaksson <exon at lysator.liu.se>
Envoyé : jeudi 6 septembre 2018 21:02
À : Fabrizio Caruso; Stefano Bodrato; Dom Morris; abc80 at abc80.org
Objet : Re: How to load .bac files into an ABC80/800 emulator?


Hi,


I think someone on the mailing list actually managed to automate this process, using these command line tools instead of abcexplorer:


http://www.lysator.liu.se/~exon/archive/ABCWin2/ABCTools.zip


Like so:


dosgen mydisk.dsk
doscopy mydisk.dsk -b myprog.bac


The cassette interface was never completed, i'm afraid... the idea was to use .wav-files or some audio interface to load files using the standard cas:-driver in the ABC80.


BR,

Erik


On 2018-09-06 11:07, Fabrizio Caruso wrote:
Hi Erik,

I am using multiple emulators:
ABC80SIM (can load .ihx files maybe only these non-standard files)
ABCWin1.1 (cannot load the .bac correctly: it produces random characters)
ABCWin2.3 BETA (I managed to load the .bac inside the .dsk but not the .bac)

So ABVWin2.3 allows me to use .dsk with .bac files inside them but .dsk cannot be created automatically.
I need to load my game in a standard format that can be created by a script like .bac.

How can I load .bac files? Is there any emulator that can do that correctly?
ABCWIn2.3 Config -> Cassette does nothing
Is it a bug? Is there a fully working version?

    Fabrizio


________________________________
De : Erik Isaksson <exon at lysator.liu.se><mailto:exon at lysator.liu.se>
Envoyé : mercredi 5 septembre 2018 18:15
À : Fabrizio Caruso
Objet : Re: [abc80] A new game for ABC80 and ABC800 computers

Hello Fabrizio,

how do you mean that "ABCWin has the option but it is greyed out"? Which
version of ABCWin are you using?

The best way to load a .bac-file into ABCWin would be as you suggested
below, using ABCExplorer to write it to a .dsk-image. Once "mounted"
into ABCWin, just type LOAD followed by your filename and press enter.

Best Regards,

Erik


On 2018-09-05 18:06, Fabrizio Caruso wrote:
> Hi
>
> How do I load the .bac file into an emulator? Which emulator should I use?
> I could use bin2bac2 to convert bin -> bac
>
> I cannot find an emulator capable of reading .bac files.
> ABCWin has the option but it is greyed out. Is it a bug?
>
> So I used ABCExplorer to insert the .bac file into a .dsk disk image.
>
> I could mount the image into ABCWin but no idea how to load it.
>
> Could you please help us on this?
>
>     Fabrizio
>
>
> ________________________________
> De : Andreas Gustafsson <andreas.gustafsson at gmail.com><mailto:andreas.gustafsson at gmail.com>
> Envoyé : mardi 4 septembre 2018 21:06
> À : dom at suborbital.org.uk<mailto:dom at suborbital.org.uk>
> Cc : fabrizio_caruso at hotmail.com<mailto:fabrizio_caruso at hotmail.com>; abc80; Stefano Bodrato
> Objet : Re: [abc80] A new game for ABC80 and ABC800 computers
>
> Sorry, one letter wrong:
> http://ag1976.com/files/abc_bintool_src.zip
>
> On Tue, 4 Sep 2018 at 22:35, Dom Morris <dom at suborbital.org.uk<mailto:dom at suborbital.org.uk><mailto:dom at suborbital.org.uk><mailto:dom at suborbital.org.uk>> wrote:
> No worries - I'd just use it as reference. That link appears to be dead though?
>
>
> On Mon, 3 Sep 2018, at 8:52 PM, Andreas Gustafsson wrote:
> Yeah, sure, but it's not very good code, I just hacked it together to get the job done!
>
> http://ag1976.com/files/abc_bintools_src.zip
>
> On Fri, 31 Aug 2018 at 11:55, Dom Morris <dom at suborbital.org.uk<mailto:dom at suborbital.org.uk><mailto:dom at suborbital.org.uk><mailto:dom at suborbital.org.uk>> wrote:
>
> Thank you - is it possible to get the source? And would you have an objections to a rewrite of it being included within the z88dk appmake?
>
>
> On Fri, 31 Aug 2018, at 10:36 AM, Andreas Gustafsson wrote:
> Sure, here are the files:
> http://ag1976.com/files/abc_bin_tools.zip
>
> Note that these are just quick hacks, so error checking etc. are non-existent!
>
> For the .BAC files, the bin is included as some kind of string-data, so it's much more effective compared to DATA statements, I'm not 100% sure exactly how it works since it wasn't I who invented it.
> But for the 16kb memory ABC80 I think you can load binaries of at least 12kb or so.
>
> /Andreas
>
>
> On Fri, 31 Aug 2018 at 10:44, Fabrizio Caruso <fabrizio_caruso at hotmail.com<mailto:fabrizio_caruso at hotmail.com><mailto:fabrizio_caruso at hotmail.com><mailto:fabrizio_caruso at hotmail.com>> wrote:
>
> Hi!
>
>
>
>
> Could you please share all these tools?
> I use Cygwin under Windows.
> How do you do the conversion? Do you include the code as DATA statements? That would make >8k programs impossible to load.
> How do you do bin->abs for the ABC806?
>
>     Regards
>
>
>
>
>
>     Fabrizio
>
>
>
>
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>
>
>
> ________________________________
>
> From: Andreas Gustafsson <andreas.gustafsson at gmail.com<mailto:andreas.gustafsson at gmail.com><mailto:andreas.gustafsson at gmail.com><mailto:andreas.gustafsson at gmail.com>>
> Sent: Friday, August 31, 2018 10:40:46 AM
> To: fabrizio_caruso at hotmail.com<mailto:fabrizio_caruso at hotmail.com><mailto:fabrizio_caruso at hotmail.com><mailto:fabrizio_caruso at hotmail.com>
> Cc: abc80
> Subject: Re: [abc80] A new game for ABC80 and ABC800 computers
>
> When I do my cross-compiling, I do bin->bac format for the ABC80, the .bac files can then be placed in a .dsk file and run from the standard ABC80 prompt.
> For the ABC806 I use bin->abs format, put the files in a .dsk image and run them from UFD-DOS. I'm not 100% sure, but I think the ABC800 would work similar to the ABC806.
> I've written some small windows command line tools to handle the bin2bac and bin2abs conversion. If you're working in a Linux environment, I know that there's a perl script that can handle bin->bac, for bin to abs I'm not certain.
>
> /Andreas
>
> On Fri, 31 Aug 2018 at 05:48, Fabrizio Caruso <fabrizio_caruso at hotmail.com<mailto:fabrizio_caruso at hotmail.com><mailto:fabrizio_caruso at hotmail.com><mailto:fabrizio_caruso at hotmail.com>> wrote:
> Hi everyone!
>
> I am the author of Cross Chase, which is a "universal" game written in C and compiled for all 8-bit computers/consoles/handhelds/pocket calculators including the Luxor ABC 80 and Luxor ABC 800.
>
> You can follow my project at:
> https://github.com/Fabrizio-Caruso/CROSS-CHASE
> and get the binaries:
> https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/BombDance/FULL_abc80.ihx
> https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/BombDance/FULL_abc800.bin
> https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/download/BombDance/LIGHT_abc80.ihx
> (currently the game as an input issue)
>
> So far I can make versions for both these computers but I have no way to test the ABC 800 version because I don't know how to load the game... I can barely test the ABC 80 version but only with the ABC80SIM emulator because this emulator can read .ihx (sort of binary in hex format).
>
> I can easily create a raw binary version. Are there tools to convert a raw binary (for example with start at address 49200) into something loadable by an emulator? Like a .wav or .dsk image?
>
> Could someone here please help me?
>
>     Fabrizio
>
> _______________________________________________
> ABC80 mailing list
> ABC80 at abc80.org<mailto:ABC80 at abc80.org><mailto:ABC80 at abc80.org>
> http://www.abc80.org/mailman/listinfo/abc80
>
>
> _______________________________________________
> ABC80 mailing list
> ABC80 at abc80.org<mailto:ABC80 at abc80.org>
> http://www.abc80.org/mailman/listinfo/abc80
>




More information about the ABC80 mailing list