ASM80: New features in April

 My projects, Programming  Comments Off on ASM80: New features in April
Apr 052018

Dear ASM80 users…

I am still working on bug fixes and new features. Big THANKS to all who report me bugs or suggest new features (Jeff, Sandor etc.)

Bugfixes contain:

  • fixed error for macros without parameters
  • better error messages (some of them was misleading, like the “internal error”)
  • Z80 fix for IX+…, IY+… – now assembler checks limits (before was “modulo 256”)
  • Workspace downloading
  • Better listing format (for long labels etc.)
  • Better documentation of math operators

New features:

  • Did you try the ASM TOOLS? It contains math function table generator and HEX 2 BIN converter!
  • ASM80 has a feature for download binary file (BIN) instead of HEX. Two new directives were added – binfrom and binto – for easy setting memory range to export. Consult docs for further details.
  • IDE has now a “Find A Label Definition” feature. Just press CTRL (META) key and double click on the label name, e.g. in the CALL instruction, and editor will find the label definition.
  • IDE has now an auto-complete feature: write first two, three letters and press Ctrl+SPACE (on macOS it is Control too, not Meta – I am sorry, but the editor is a 3rd side software), the editor will suggest you symbol names.
  • Workspaces and its synchronization caused some problems. Big apologies to all who challenges data loss, I am really sorry about that. Opening workspace again now does not overwrite local content, but merge it together. Conflict files are stored in both variant, you have to decide which one is recent. There is a “workspace auto-sync” feature, which saves the whole workspace remotely on each file save. It can be a little slower, but your files are saved safely.

About workspaces and its syncing there are some scenarios you can face to:

  1. Open remote workspace A with the same workspace opened locally: Remote files are merged with local.
  2. Open remote workspace A with another workspace B opened locally: You can save local workspace B to remote storage (prompted) and then remote workspace A is opened.
  3. Press SYNC WORKSPACE: Current workspace is merged with remote version and then saved.
  4. Press SAVE WORKSPACE: A remote version of current workspace is OVERWRITTEN by local version! (Be caution, this is a scenario you can delete a file in remote storage!)
  5. How to delete a file in the remote workspace? Just delete the file locally and then SAVE workspace (not SYNC, because of synchronization will download the deleted file from the remote storage first)

I hope you find these updates useful.

ASM80: Debugging stuff

 My projects, Programming  Comments Off on ASM80: Debugging stuff
Dec 032017

I have revisited the ASM80 integrated debugger. I mean that part you can use when try to EMULATE any common code.

The part I have focused on is the upper part with the memory. Here is a change list:

  1. You can click on a memory cell and enter a new value to fill in.
  2. You can scroll memory up and down by mouse wheel.
  3. You can fill a block of memory with three input boxes right under the memory block. From left: FROM, TO, VALUE. Enter appropriate values and click on FILL
  4. You can enter a string or a list of numbers into memory at given addres. The last line provides this functionality. Simply enter the address, from you want to enter into memory, and click to STR (entering ASCII string) or NUMS (entering numbers – comma-separated list).

Have fun and enjoy!

ASM80: New directives, some fixes, new login system

 My projects, Programming  Comments Off on ASM80: New directives, some fixes, new login system
Sep 162017

Hello folks, as you can noticed, there is some progress with online IDE and compiler.

Last time I have introduced new features: generic emulator and assembler toolkit.

Today I would like to introduce some features you will love, I guess…

First of all: ASM80 Manual, published with GitBook. Enjoy!


I have added three directives: .cstr, .pstr and .istr. All of them is suitable for defining a string, like DB “blahblah”, but:

.cstr When you need write a zero-ended string (C style), you can use DB "Hello",0 – or simple .cstr "Hello"
.pstr Similar as .cstr, but there is no trailing zero. .pstr is a Pascal-style string: first byte is length, then string. So .pstr "Hello" is equal to DB 5, "Hello".
.istr Strings are often defined as simple ASCII, where the last byte has bit 7 set to 1. So .istr "Hello" is the same as DB "Hell","o"+0x80

Terminal capturing and transmitting

With Generic Emulator you can now easy capture terminal out to the text file (press “capture” under the display, press again to stop capturing and save file). You can send file to terminal too, just click to the file name with RMB and select “Send to terminal”

New login system

I have decided to deprecate old login system, it was not good. From now you can log in with GitHub account, Twitter account, Google account or Facebook account. You can link more such accounts together, of course. Your workspaces is now saved in Firebase DB. Your old workspaces are preserved, but it requires old way of login, so I recommend to save them into the new system.

Bug fixed

There was a bug in a .block feature – in some circumstances with 6502 code assembler can decide to use shorter addressing mode, so .block can be moved during the evaluation passes to another address. Now assembler reflect these changes and provide true addresses for inner @labels.

Assembler toolkit

 My projects  Comments Off on Assembler toolkit
Sep 092017

Wanna convert HEX to series of DB? Or binary file to series of DB? Or wanna convert them to the JavaScript Array form? Or you have a LST file and want to convert it to ASM, so trim first 20 (or 16, or 18, or 32) characters? It’s easy with the ASM80 Tools.

A lot of cool modules and sensors…

 Circuits, Microcontrollers, Microprocessors, My projects, Other  Comments Off on A lot of cool modules and sensors…
May 212017

I am buying electronic stuff from AliExpress – due to the ******* custom policy of EU it is a much cheaper than buying from Adafruit, Sparkfun etc. Unfortunatelly. There is a lot of total crap, but also a lot of great stuff too. I am diving into AliExpress three times a week, and I found many pieces “I really have to build”. So I decided to share these tips with you and made a new web called Alitronik.

There are three tips per day at Alitronik, and each sunday is “a Funday” – a day for tips with something in common. For example – the last one is dedicated to solar power, energy metering, weather stations and lasers. Previous week was in the sign of Raspberry Pi cases, tools, robots and construction of 8085-based mini PC.

From the recent post I want to mention e.g. 37 sensors kit, CC-A80 Cubieboard PC, Speech Recognition Module, LoRa Shield for Arduino, NodeMCU-32S or SMD Tweezer and multimeter tool.

So – bookmark, read Alitronik RSS, follow @alitronik_tips, subscribe weekly digest or submit your own tips.

Tiny-TS: Just How Small Can A Playable Synethesiser Get?

 RSS  Comments Off on Tiny-TS: Just How Small Can A Playable Synethesiser Get?
Dec 112016

The early electronic synthesizers were huge machines, racks of electronic modules that filled entire rooms. Integration of electronics over time successively reduced them, first to the size of a large piece of furniture, then to  tabletop consoles, to standalone keyboards, and to small MIDI black boxes taking their instructions from…
Source: Tiny-TS: Just How Small Can A Playable Synethesiser Get?

The Nest: Album Release Hidden In A Rock

 RSS  Comments Off on The Nest: Album Release Hidden In A Rock
Dec 112016

First there were vinyl records, then came cassettes, CDs, those failed audio-on-DVD formats, and then downloads. To quote the band, [Bateleur], “you can’t pay someone to take a CD these days.” So how do you release your new album? By hiding a Raspberry Pi in a semi-transparent fake rock on…
Source: The Nest: Album Release Hidden In A Rock

Speed Run [James Bruton’s] Star Wars Builds

 RSS  Comments Off on Speed Run [James Bruton’s] Star Wars Builds
Dec 102016

We’ve been following [James Bruton]’s builds here on Hackaday for quite a while and he has built some impressive stuff. We love how he often doesn’t cover everything up, leaving enough room to admire the working bits under the hood. Just in time for the release of the new Star…
Source: Speed Run [James Bruton’s] Star Wars Builds