News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Programming on a PC, to make CPC programs ...

Started by tubs74, 20:31, 24 April 25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tubs74

Hi

I wondered if there is a programming system that I can use on the PC, to create CPC programmes?  I mess about with Boriels ZXBasic and the associated dev studio for the Spectrum (Basically a version of FreeBasic, that creates a spectrum tap file that can then be loaded onto a real spectrum), and I wondered if there was anything similar for the CPC?

(I'm aware of MPAGD, but thats not what I'm looking for)

Thanks.

McArti0

CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

tubs74


HAL6128

  • Notepad++ & RASM (Assembler)
  • "CPCBasic" leads to assembled code

eto


tubs74

Quote from: HAL6128 on 21:02, 24 April 25
  • Notepad++ & RASM (Assembler)
  • "CPCBasic" leads to assembled code

Assembler is too low level for me.

CPCBasic looked interesting, but windows is reporting that there is a virus in the archive ...

tubs74

#6
Quote from: eto on 21:25, 24 April 25ugBasic
Ah, yes completely forgot about ugBasic!  Good call.

I think I'd discounted it in the past, as the ZX spectrum version was quite restricted.

MiguelSky

What kind of games and which programming language do you want to use?

8bp features a good bunch of RSX to create games in BASIC:
https://8bitsdepoder.blogspot.com/?m=1

CPCtelera comes also with some routines to program in C (also for assembler, but I already read that you don't like it too much):
https://github.com/lronaldo/cpctelera

krusty_benediction

For assembly-based projects,
I have validated https://cpcsdk.github.io/rust.cpclib/bndbuild/ forum my last 3 demos.

It provides direct access to my assembler, image transfer tool, dsk manipulation tool, as well as major related public tools (by downloading & launching them automatically). Has been used by various people on linux or windows. Few work is expected for a mac version, but I cannot build it myself.

Basic files import/export is maybe not complete, i have only tested what i used. But it can be completed.

There is nothing related to C, but I may think about it.

HAL6128

Quote from: krusty_benediction on 07:47, 25 April 25For assembly-based projects,
I have validated https://cpcsdk.github.io/rust.cpclib/bndbuild/ forum my last 3 demos.

It provides direct access to my assembler, image transfer tool, dsk manipulation tool, as well as major related public tools (by downloading & launching them automatically). Has been used by various people on linux or windows. Few work is expected for a mac version, but I cannot build it myself.

Basic files import/export is maybe not complete, i have only tested what i used. But it can be completed.

There is nothing related to C, but I may think about it.
Oh, nice tool chain! 
There's a program mentioned to manipulate header. Is it possible to add an own header to an ASCII / raw file (e.g. data file from a PC) with file length information added?

XeNoMoRPH

your amstrad news source in spanish language : https://auamstrad.es

krusty_benediction

#11
@HAL6128 yep ;) I can fix/improve if needed. This is a rewrite of hideurMaker, not idea how it differs from the original

Usage: hideur [OPTIONS] <INPUT>

Arguments:
  <INPUT>
          Input file to manipulate

Options:
      --info


  -o, --output <OUTPUT>
          Output file to generate

  -u, --user <USER>
          User where to put the file

  -t, --type <TYPE>
          File type

          [possible values: 0, 1, 2, Basic, Protected, Binary, basic, protected, binary, BASIC, PROTECTED, BINARY]

  -x, --execution <EXEC>
          Execution address. Default to the load address if not specified.

  -l, --load <LOAD>
          Loading address.

  -h, --help


  -V, --version
          Print version

So blindly, when used from command line, i would say (I barely use it) :

bndbuild --direct -- hideur -o with_header.bin -l0x4000 -x0x4000 -tbinary without_header.asc

HAL6128

Do you think it (hideur) can be modified to change the AMSDOS information (Bytes 64..66 = real length of a file)?


HAL6128


zhulien

Is Turbo Rascal usable for CPC currently?

McArti0

#16
Turbo Pascal 3 makes a minimal COM file 9kB. I don't know if there's a way around this. @Nemo59 wrote various cool things in TP3. There is a channel on YT.
CPC 6128, Whole 6128 and Only 6128, with .....
NewPAL v3 for use all 128kB RAM by CRTC as VRAM
One chip drver for 512kB extRAM 6128
TYPICAL :) TV Funai 22FL532/10 with VGA-RGB-in.

Powered by SMFPacks Menu Editor Mod