Category Archives: BASin/Basinc

Basinc 1.81 Update

This update addresses a long-standing bug that has appeared and disappeared across different versions since the original Basin.
The DEF FN command has always caused parsing issues for Basin. Its handling in memory is quite unusual: when the command is entered, a 5-byte buffer is created right after it within the BASIC listing. This buffer is used for internal DEF FN evaluations! Just imagine the complications this design can cause. It’s a rather curious design decision on the sinclair’s part.

Paul has put a lot of effort into dealing with DEF FN. My approach has always been “if it works, don’t touch it,” so I generally stayed away from it. However, this bug has kept resurfacing since the early versions of BasinC (as you can see if you check the different versions of the source code). Paul himself had rewritten and reverted this function several times at different stages.

Unfortunately, I noticed the DEF FN bug has returned in version 1.8. Now I understand that DEF FN parsing needs a complete rewrite. I added this to TO-DO list for future versions. This time, this is just a quick fix. In fact, the fix was already shared on the ZX Spectrum Discord server on June 6, 2025, and a few days later on Uwe’s Facebook BASIC group as version 1.81. Due to time constraints, I wasn’t able to post the announcement here—so I’m doing it now. As always, the updated source code is available on the GitHub page. Note that you can always ask for changes or fixed on the zx spectrum discord server, as it is the only real source of communication about BasinC. You can also reach me at @ardae.bsky.social‬

This version not only fixes DEF FN but also addresses another important issue: the new GOSUB locator was causing the cursor to jump up and down in Windows 11. That’s now resolved.
Since BasinC was originally compiled on Windows 7 for backward compatibility, certain behaviors varied. From now on, BasinC is compiled on Windows 10, and I will be dropping backward compatibility in upcoming versions. Hopefully, this will provide a more stable development environment.

⚠️ This update requires version 1.8 to be installed. If you haven’t installed it yet, you can download it from here:
Basinc 1.80 full install

🔄 To apply the 1.81 update, download the file below, go to your BasinC folder, delete the existing basinc.exe, and replace it with the new one from the archive:
Basinc 1.81 Update (1.2MB zipped exe file)


All changes in this update are listed below (including the ones introduced in 1.8, which I had forgotten to announce here at the time — you can always find this changelog inside the source code on GitHub):
Continue reading Basinc 1.81 Update

Basinc 1.794

This article is obsolete. Get basinC 1.8 instead.

There is not much in this update. First of all, you’ll see a few improvements to the UDG Editor that DamienG requested.

Second, while making a few fixes about the SimpleCON device, a bug is also fixed.

But if you came here via BasinC’s own update check reminder, congratz (to both of us)! it’s good right =) Please leave a comment. Do you think basinc will benefit from improved internet functions? And mention your own ideas. (if you are not–don’t forget to enable update check under Tools > Basinc Options > Basinc Network).

Download latest release here:
Portable Download ZIP File, with examples and fonts etc. –Extract to any folder and run.

Download Installer Exe Automatic light install and Uninstall (InnoSetup) -Note: inno didn’t include autoback folder so you have to manually add it to installation folder or disable auto backup in options (or you get errors every 3 minutes)

In the meantime, we welcome you all to our Discord server:
https://discord.gg/UXVHCxuAWg Your Invitation

Changes:

// 1.79.4
// Added - UDG Editor Window, "Save" file option, CTRL+S, CTRL+O shortcuts, keeps track of open file and notify if there is a pixel modified as * in the title bar.
// Fixed - SimpleCON register couldn't be displayed as text because it was initialized as 0, now it is spaces.
// Changed-SimpleCON window was popping up in every character output. Now it only pops up when linefeed.


// 1.79.3
// Fixed - Profile window was showing wrong token in strings. (reported by: lippmaje)


// 1.79.2 (19.05.2022)
// Added - Basin Update Check (disabled by default, enable in Options)

BasinC 1.79 is available! — Snippets!

This article is obsolete. Get basinC 1.794 instead.

Snippets Window where you can put short clips of programs and simplecon is simplified. Also basin can check updates if you enable it in options.

DOWNLOADS:
BasinC 1.792 ZIP file 3.1MB Zip File Portable Folder
OR
Basinc 1.792 installer 3.1MB Executable

How to manually install?
Just unzip the file somewhere you have write access to. (basin keep backups your programs automatically in autoback folder).

How to upgrade?
Unzip this archive into a *new* folder. Carry your old “basinc.ini” file so your settings could be retained.
This archive does not include a basinc.ini configuration file, it will not overwrite it. But it has include snippets file. Be careful not to overwrite your old snippets.dat file.

history:

// 1.79.2 (19.05.2022)
// Added – Basin Update Check (disabled by default, enable in Options) – basin can now notify updates.

// 1.79.1 (19.05.2022)
// Added – BasinC Snippets
// Changed – SimpleCon behaviour. Not port 1515 commands sets the byte *then* increment the index. Port 1259,0 feeds the line to the log instead of 255. See examples folder.

// 1.78 (24.10.2021)
// Fixed – IF x THEN REM couldn’t parsed by basinc, now patched, but may present new issues, due it’s just a workaround.
// Fixed – When you execute a direct command, basic was corrupted temporarily. It’s fixed by removing a wild syntax cropper.

BasinC 1.77 Release

EDIT:This is now an old version. Check new version at -> >Basinc 1.792<

Well, this one is again just a quick update. Some bug fixes and minor improvoments.

A visible addendum is Project Notes Editor. It’s just a workaround to add remarks/comments to your project. Note that comments will only saved with BAS files.
Also I’ve added keyboard toggle options for tool windows. For more information please see the changelog below.

BasinC Emulator 1.77 – Download
A reminder: This archive does not contain basinc.ini file. You may copy your old ini file into basinc 1.77 folder or basinc will create a new ini file for you.

Happy halloween!

Version History:
Continue reading BasinC 1.77 Release

Basinc Minor update, Version 1.72

This article is obsolete. Get latest BasinC here.

This is a minor update for basinc. It fixes one bug and adds a new feature.

This package needs main basinc 1.70 (obsolete:get 1.77 instead) pre-installed on your system. Just overwrite old basinc.exe with this new executable file.

Download 1.72 update package (obsolete)  1.3MB Zip Archive
Reminder: Basinc 1.77 is out!!!
1.70 -> 1.72
Added: -dumptxt commandline parameter. Extracts and saves BASIC portion of the program. Usage: basinc <filename> -dumptxt
Added: 4x,5x,6x font sizes for hi-dpi non-zoomed screens.
Fixed: variables with 90ish numbers like a91, b95 weren’t properly tokenized.

BasinC Version 1.7


This article is obsolete. Get basinC 1.79 instead.

Here is a better basinc 1.7. Again, this is NOT alpha. Please update your basinC.

Download BasinC V1.7 (~3.5MB zip file)

Do not merge old basinc folder with this one. Create a clean folder for this version to work.

If you desperately need your old preferences, just rename your old basin.ini file as basinC.ini and copy it into new basinc 1.7 folder. Basinc will upgrade your ini file as it exits. Some of your preferences may be lost in the process.

 

// BasinC v1.7 20.11.2017

// Added new toolbar buttons
// Added toggle breakpoint navigation buttons (see view menu)
// Added auto backup feature. Basinc saves your work in the background every 3 minutes.
// it keeps 10 copies going back up to 30 minutes in /autoback folder.
// To turn this feature off, use: Options > Filing > Auto Backup
// Changed – Basinc now requires basinC.bin and basinC.ini rather than old basin.ini.

BasinC 1.7a

 

This release is an untested alpha release (ok, actually, every basin release might be marked as Alpha).

Not worth for 1.7 glory, you may see some icons missing and some functionalities reduced because I planned to make them better, yet failed to complete all the work. Basinc demands more time that I don’t have.

The project is not abandoned. V1.7 will hit the sinclair basic scene someday in the future 😀

btw. I can accept fancier toolbar icons. Comment or email me if you are interested.

Yours truly,
Arda

DOWNLOAD: Basinc1.7a 3.3MB Zip File

(basinC now has an official non-alpha 1.7 release. Please download it from this link:
http://arda.kisafilm.org/blog/?p=1230&lang=en

Here is the tiny list of update history:

Continue reading BasinC 1.7a

Basınç 1.69 is OUT

2017 UPDATE: This version is obsolete. Please get the new version

Basinc V1.69 for Windows – 03.July.2014

Download 3.8MB Zip

Please read the readme and what’s new file in the archive.

Please note, if help doesn’t show up, you should unblock the chm archive. Just go to the basinc directory, right click “basin.chm” file and choose “Unblock”.

Basinc UlaPlus and indenting
Basinc UlaPlus and indenting

Changed – Version information changed to more standard “version.revision” form.
Changed – Autostart bas files is now disabled by default (options>files)
Fixed – Snapshot loading
Fixed – Broken Ulaplus behaviour (aowen)
Fixed – Broken Sinclair stripes when using double size fonts (paddy)
Fixed – Missing Border icons on Screen Paintbox (paddy)
Fixed – Token Table Index (paddy)
Fixed – String parsing bug. Eg. “LOAD STR$ n CODE” was parsed as “LOAD STR$ ncode” (paddy)
Fixed – Ulaplus port read fails
Added – “Export Tap…” option to File menu. (quickly saves basic as a tap file)
Added – UlaPlus Palette Editor for editing colours in ULAplus registers. (see tools menu)
Added – Indenting. Warning: EXPERIMENTAL – press F2 to enable/toggle. (see options menu)
Added – New functionality test / usage bas programs (see Examples>BAS>Basinc folder)
Added – Autostart, Save with autostart options are now retained between sessions.
Added – Spanish language for main screen. (by Sergio Baldoví)