AcornPad

handy tools that can assist in the development of new software
polomint
Posts: 45
Joined: Sun Dec 12, 2021 7:16 pm
Contact:

Re: CharPad

Post by polomint »

The wait will be worth it :)

You've done a great amount of work in such a short time :)

Thank you. =D>
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Few more bug fixes done.

I've also Implemented a map export to screen image, example image showing in B-EM

Screenshot 2022-01-30 at 00.47.38.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

New project window, allowing for Atom support in a future version.

Screenshot 2022-01-30 at 15.48.07.png

New import Image showing source and destination side by side for better viewing at full screen

Screenshot 2022-01-30 at 15.46.30.png
Project json file updated to include colour set [future support]
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: CharPad

Post by oss003 »

fizgog wrote: Sun Jan 30, 2022 3:56 pm New project window, allowing for Atom support in a furure version.
Nice ...... would be great ..... =D>

Greetings
Kees
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

oss003 wrote: Sun Jan 30, 2022 4:30 pm Nice ...... would be great ..... =D>
Thanks, also whats the best resource for Atom documentation on the web?

AcornPad
Fixed negative image crash when using mode 1, code was still looking at 16 colours #-o
Added 2:1 pixel for mode 2 and 5 import image
Added auto palette option to the image import

Example without
Screenshot 2022-01-31 at 22.18.50.png

Example with
Screenshot 2022-01-31 at 22.19.04.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Alpha release coming later today :-D


Quick test showing AcornPad in Ubuntu under wine, for those that don't have Windows or Virtual machine

Screenshot 2022-02-01 at 11.46.09.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
polomint
Posts: 45
Joined: Sun Dec 12, 2021 7:16 pm
Contact:

Re: CharPad

Post by polomint »

/me rushes home ;) :D =D> =D> =D>
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: CharPad

Post by oss003 »

fizgog wrote: Mon Jan 31, 2022 10:28 pm Thanks, also whats the best resource for Atom documentation on the web?
You can find a lot of Atom documentation on www.acornatom.nl
The 'bible' for the Atom is Atomic Theory and Practice: www.acornatom.nl/atom_handleidingen/atap/atap.htm

The Atom has following graphics modes:

Code: Select all

CLEAR   X   Y   Memory
----------------------
    0   64  48  0.5 K
    1a  64  64  1,0 K
    1  128  64  1,0 K
    2a 128  64  2,0 K
    2  128  96  1.5 K
    3a 128  96  3,0 K
    3  128 192  3,0 K
    4a 128 192  6,0 K
    4  256 192  6,0 K
The 'a' modes are colour modes and X and Y are pixels.
Monochrome modes have 1x1 and colour modes 2x1 pixels.
A byte in colourmode contains 4 pixels of 4 colours.
Left pixel is bit 7/6, middle left is bit 5/4, middle right is 3/2 and right pixel is bit 1/0

Code: Select all

bits colourset1  colourset2
---------------------------
 00    green       white
 01    yellow      cyan
 10    blue        magenta
 11    red         orange
,colour.png

Greetings
Kees
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Thanks Kees for the info and links,

Regards
Shaun
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Here it is, the first public release of AcornPad
(zip should contain the main AcornPad.exe, a machine.json file and a Newtonsoft Json library file)

AcornPad.zip
(461.64 KiB) Downloaded 35 times

Next set of tasks in no particular order: -

Fix any more bugs that are found
Add Tile support
Add multi map support
Add Atom support
Add transform insert / delete row / column to map edit
Add transform mirror to char edit and map edit

Let me know if you find any bugs or want anything adding.
NB Flashing colours are probably a no go as it would need to refresh all the forms every second or so with the new colour

Regards
Shaun
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Bug found.

If you zoom in on the "char set" form to say factor 8 and then size the form down as small as possible it causes a divide by zero error in the graphics.
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

New version 1.02

Fixed charset bug

Also seems some systems require all the dll's to go with the program, so they are included in the zip file

AcornPad.zip
(571.19 KiB) Downloaded 38 times
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: CharPad

Post by oss003 »

Hi,

just had a play with AcornPad ....... great tool ...... =D>
Designing characters and maps is a lot easier now.

I do have one remark .... all export is based upon BeebASM but is it possible to e.g. export the asm files in CC65 format?

Greetings
Kees
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

oss003 wrote: Wed Feb 02, 2022 9:00 pm I do have one remark .... all export is based upon BeebASM but is it possible to e.g. export the asm files in CC65 format?
CC65 is not something I've ever used before, but can't see why the format cannot be added.

I'm currently working on getting the Atom modes into the system.

Screenshot 2022-02-02 at 23.38.12.png

at the moment, I can only create new projects and edit them, needs loading and saving projects, import image, export to screen and export to asm
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Existing Acorn logo created using the importer with Atom Mode 4a (128 x 192)

Screenshot 2022-02-03 at 12.22.22.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Added loading and saving of project if Atom is chosen (still need to finish all exporting code for atom)

Started working on Tiles - This involves a complete rewrite of the existing tiles code

Added new custom numeric tool strip control to replace existing text boxes for qty, width, height inputs in the toolbar
Added new custom table tool strip control for tiles, example showing 3x3 tiles being selected from a 10x10 grid

Screenshot 2022-02-05 at 14.03.29.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

New TileEdit form added, next up is to plot map with tiles.

Screenshot 2022-02-06 at 14.09.53.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Still working on it, and have finally managed to get the map editor to work with tiles

Screenshot 2022-02-07 at 23.51.36.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
polomint
Posts: 45
Joined: Sun Dec 12, 2021 7:16 pm
Contact:

Re: CharPad

Post by polomint »

Nice, I need to set aside some time with this, it's getting better all the time :)
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

polomint wrote: Tue Feb 08, 2022 9:59 am Nice, I need to set aside some time with this, it's getting better all the time :)
Thanks

On my dinner I managed to implement the following: -

Automatic tile compression when converting from a character map to a tiled map
Mouse wheel scroll for zooming in and out of the images
Convert a tiled map back to a character map if user turns off tiles
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Short work day, so had time to implement the following: -

Added threading to both import image and export to screen to fix locking of the system whilst processing large images and data sets
Added tile export to screen
Added tile export to ASM/Text
Added CC65 support to both export to screen and export to ASM/Text

Screenshot 2022-02-09 at 16.08.57.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Version 1.03 Release

AcornPad 1.0.3.zip
(582.45 KiB) Downloaded 27 times

New
Tiles support added (max size 10x10)
Added tile size form - pops up when tiles online is set to yes in the palette editor
Added tile set form
Added tile editor form
Added following transform options to the tile editor
  • Flip Horizontal
  • Flip Vertical
  • Shift Left
  • Shift Right
  • Shift Up
  • Shift Down
Added colour picker to the tile editor
Added compression to tile set
Added tile resize to tile set
Added automatic character map to tile map conversion
Added automatic tile map to character map conversion
Added tile export to screen
Added tile ASM export
Added CC65 support
Added threading to import image and export to screen
Added release notes to the help menu
Added prelimary Atom support (currently exporting in Beeb format)

Changes
Changed colour selectors and styles, green for left click, purple for right click
Improved layout of Import Image form
Improved layout of Export to Screen form

Fixes
Fixed character and tile selectors not moving correctly when using scroll bars

Regards
Shaun
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Seems there is a bug in the paste function as it's not creating a unique character, so the compression function gets corrupted when used after. Also compressing a character set when tiles are being used will corrupt the map.

They are fixed in 1.4, but I'm currently going through and testing this version, so might be a while.

For the moment I would save often and not use the cut copy paste.

I've attached a BBC Mode 1 project file of a certain PC game as an example of what it can do (just unzip and load into AcornPad)

Ultima I.prj.zip
(4.62 KiB) Downloaded 17 times

which will give you this

Screenshot 2022-02-12 at 09.21.11.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Another project file to play with, again just unzip and load

smb3.prj.zip
(3.71 KiB) Downloaded 29 times

Screenshot 2022-02-12 at 17.08.58.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: CharPad

Post by oss003 »

Nice work ....
I did a test in Atom colour mode and noticed that the palette colours can be changed. This is possible for the BBC but not for the Atom. The Atom has 2 fixed colour palettes or fixed monochrome colours black and white.
Otherwise it works great. I'll see if I can use Charpad for designing some levels for an MPAGD game.

greetings
Kees
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Thanks.

Yes I wasn't sure if you could alter the palette or not for the Atom, I'll add it to the list of features to lock it down. I still need to add the correct export code for Atom as it's still using the Beeb format, but I'm currently going through the system and trying to fix any bugs I come across such as the paste or compression that I've found.

Thank god I added the undo feature in case it goes haywire.
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: CharPad

Post by Negative Charge »

This is stunning! Thanks for releasing this. Just what I needed for something I’m working on. Managed to import a few font sets from other platforms with ease. Looking forward to your future updates.
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

Negative Charge wrote: Sun Feb 13, 2022 3:36 pm This is stunning! Thanks for releasing this. Just what I needed for something I’m working on. Managed to import a few font sets from other platforms with ease. Looking forward to your future updates.

Thanks and on that note :)

AcornPad 1.04.zip
(645.39 KiB) Downloaded 24 times

New
Added char information to the tile editor status bar
Added examples folder with a few example project files
Added transform icons to the tiles editor menu
Added following colour options to the tile editor
  • Negative
Changes
Optimised the auto palette option in the Import Image utility
Locked down cycling through the Atom palette
Map picker now picks tile instead of character if the tiles are online
Fixes
Fixed paste function, not creating a unique character or tile number
Fixed character compression when using tiles
Fixed tiles online toggle, not refreshing forms

Added the following Atari 400/800 project file to the examples folder

Screenshot 2022-02-14 at 14.12.17.png
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Beebson
Posts: 149
Joined: Tue Jan 18, 2022 2:24 pm
Contact:

Re: CharPad

Post by Beebson »

This is great! :D I have tried it a bit, it´s great, thank you!

To see CharPadded screens on BBC, how I can load ASM file on BBC? ASM=ASseMbly code?

I have found a bug from 1.0.3.. If any colour in Palette window is clicked, it will change to darker colour to show it is selected. But sometimes that dark colour will not change back to normal, but "hangs", stays dark, I mean. "Hanging" colour can be used normal way, but it will stay dark in Palette window. This have happened few times so far.
User avatar
fizgog
Posts: 618
Joined: Thu Jun 17, 2021 3:18 pm
Location: Nottinghamshire
Contact:

Re: CharPad

Post by fizgog »

The ASM / Text files which generate either EQUB or .byte data should be used with either BeebASM or CC65 to create your game

I'm planning on doing some examples when I've finally made all the changes to AcornPad

You really should be using 1.04 as it fixes a nasty bug with the character cut and compression

I've not noticed the palette bug, but I'll add it to the list of fixes

I'm currently working on AcornPad 1.05 and have done the following so far

New
Added usage information to the character editor status bar
Added usage information to the tile editor status bar
Added cursor keys selection to character set
Added cursor keys selection to tile set
Added keyboard shortcuts for transformation functions

Fixes
Fixed cut function in the tile editor


Example showing the character being used 19 times in the map
Screenshot 2022-02-16 at 18.27.46.png

If anyone can think of any features that are missing, then you can ask for them to be added here.
Pitfall, Gridrunner, Matrix: Gridrunner 2, LaserZone, AcornViewer, AcornPad
Post Reply

Return to “development tools”