Norecess, known for his demos and tools, released the source code of the Windows version of SDCC2Pasmo. SDCC2Pasmo is a small assembly syntax converter, which allows you to use Maxam style assembly syntax, which is compatible with the Pasmo, WinApe or Maxam assembler, in the SDCC ANSI C cross-compiler.

The command-line usage is: SDCC2Pasmo sdcc_output.asm pasmo_compatible.asm

You can now download the code from Norecess’ productions section on his website.

 

A new version of the SDCC C compiler is available. You can use SDCC to develop for the Amstrad CPC, e.g. with using the SDCC Code::Blocks template or the article in the CPCWiki. In the new version, there are a lot of optimisations for the Z80 backend, so be sure to update if you already use the old version. You can download it from http://sdcc.sourceforge.net.

Changes:

  • include/pic, non-free/include/pic, lib/pic, non-free/lib/pic renamed to */pic14
  • implemented –fomit-frame-pointer for mcs51
  • support for use of sdcc in z88dk (–reserve-regs-iy and –no-optsdcc-in-asm options; smallc calling convention)
  • new register allocator in the z80 and gbz80 ports (optimal when using –opt-code-size and a sufficiently high value for –max-allocs-per-node for the z80 port)
    C99 designated initializers
  • added strxfrm() and strcoll() functions; strerror() is the only string handling function still missing
  • added support for pic18f2xk22/pic18f4xk22 family (requires gputils > 0.14.0 and –enable-new-pics configure flag)
  • added support for enhanced core pic14 devices (requires gputils > 0.14.0 and –enable-new-pics configure flag)
  • setjmp() / longjmp() for the z80 port
  • _Bool / bool for the hc08, pic16 and pic14 ports
  • sdcpp synchronized with GNU cpp 4.6.1
  • z180 port
  • very basic (no integer constants, multiplication, division, shifts or use as return value) support for data types long long, unsigned long long, int_fast64_t, int_least64_t, int64_t, uint_fast64_t, uint_least64_t, uint64_t in the z80, z180, r2k and gbz80 ports
  • r2k port for the Rabbit 2000 and Rabbit 3000
  • Numerous feature requests and bug fixes are included as well.
 

Norecess decided to release his self-developed IDE, which he uses to create programs and demos for the Amstrad CPC (e.g. his demo Phreaks or the command shell QuickCMD). So you now can have a look at it and use it, if you want, for your own productions (read the dedicated thread in the CPC Wiki forums on how to use the IDE). But be aware that he won’t give you support for the program! You can download it from Norecess’ homepage.

CPC related plugins of the IDE:

  • CPCBigFile: embeed a set of resources into multiple small files (such as BANK.C4, BANK.C5, etc.) to be put later inside a DSK CPC image file. Additionally to that, a description file is outputted so the position/size in memory of each files can be easily retreived later.
  • CPCBinToC: convert a binary resource into a C file
  • CPCBitmap: convert a bitmap resource to CPC format, multiple conversion options are available
  • CPCDSK: inject resources into a DSK CPC image file. Internally makes use of excellent ManageDSK tool. Each resources in the DSK can be edited, cf. execution address etc.
  • CPCPacker: compress a set of resources. Exomizer or BitBuster can be choosen.
  • CPCRawBitmap: convert a bitmap resource to a custom RAW data format. It has been used by example with Phreaks demo to convert all frames into a single large array of data.
  • CPCText: outputs RAW data from an edited text in UI. User has to provide charset (font).
  • HexEdit: simple hexadecimal editor. Default viewer for unknown file-types.
  • ImageEdit: simple image viewer
  • SDCC: compiler for C/ASM files (makes use of SDCC2Pasmo utility to use Maxam’s syntax in assembly source-code)
  • PixelCalculator: useful tool which helped me a lot to compute pixel masking in MODE 0
  • SourceEdit: source editor, internally based on excellent Scite editor
 

Norecess released a new version of his shell-like user interface and improved it even more. You can download it, as always, from Norecess’ homepage.

Changes:

  • Added support for Bryce’s MegaFlash
  • Renamed RO and RW commands to READONLY and READWRITE
  • Removed CRTC command
  • Reset screen to QuickCMD’s default if external RSX changed video mode
  • DELROM now clears a rom with &FF value (was using &00)
  • Fixed: was overwriting first byte after HIMEM
  • Fixed: not assuming anymore than Amsdos area is always at &A700
 

I updated my Code::blocks (a powerfull open source development environment) template, which allows you to compile the “Hello world!” example of Norecess’ SDCC tutorial. The main changes are the update of SDCC2Pasmo and ManageDSK to the latest version. I also added an example file ‘defines.h’ which shows how to create multi-line assembler defines. I also defined the BREAKPOINT keyword, which you can add in your source code. WinApe will automatically start its debugger if it has to execute this byte sequence. You can download it from Norecess’ website and at the end of this post.

Changes:

  • added SDCC2Pasmo v1.5
  • added ManageDSK v0.20
  • added defines.h to show definition of multi-line assembler definitions
  • added example BREAKPOINT (for WinApe breakpoints) and MODE definitions
© 2012 Octoate.de - The Amstrad CPC news portal CPC-Topsites

Serverüberwachung / Servermonitoring mit Livewatch.de
Servermonitoring mit Livewatch.de
Suffusion theme by Sayontan Sinha