Git Product home page Git Product logo

radasm2's Introduction

RadASM

Current version: 2.2.2.4 - Last updated: 26/08/2022

Overview

RadASM is a lightweight IDE tool for all kinds of programmers who are looking for a straightforward application in which to edit their code.

It supports a wide variety of programming languages and assemblers such has MASM, NASM, FASM, TASM, Borland C, C++, Bcet Basic, VC6 C/C++, Free Pascal and FreeBASIC.

It was created by Ketil Olsen aka KetilO

This is a fork from the original RadASM v2.x source located on SourceForge here

I have made some very minor adjustments, which are detailed in the WhatsNew.txt

Features

  • User friendly interface.
  • Project browsing and properties.
  • Inbuilt programmer tools: ‘Ascii Table’, ‘Colref’, ‘Toolbar Creator’ etc.
  • Multiple Undo/Redo.
  • Find & Replace keywords.
  • Block indents, outdents and comments.
  • Bookmarks.
  • Syntax highlighting.
  • Custom controls.
  • Automatic code completion.
  • Record macros for ease of use.
  • Addins to extend its functionality.
  • Template system for automatic code generation.
  • Supports various programming languages.

Setup

Visit the wiki entry Setting up the RadASM environment for more details.

Credits

radasm2's People

Contributors

blue-devil avatar mrfearless avatar therealdreg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

radasm2's Issues

Editor Guideline

RadASM2 does not have an Editor GuideLine feature to set a line on a specific column on code editor.

How To:

  • This can be handled in Option > Code Editor Options
    • a checkbox to set editor guideline.
    • One up-down control for column number
    • one color picker control for setting color
  • The settings then be saved in RadASM.ini

OR

While writing this issue i have realized that maybe this can be handled via a plugin?

RadASM doesn't build and run HLA project.

When I try to build created project with code from the HLA book, it shows me this error:
image

I created HLA project with default settings. It doesn't even want to build HelloWorld template, it throws same error. I do have HLA installed on my PC:
explorer_ghltgkynz7

Here a video with demonstration:
https://youtu.be/ZoruP5Zo_0Y

Project itself:
intInput.zip

intInput.hla compiles from command line with hla intInput.hla just fine. It works, too.

How do I compile and run this program with RadASM?

Assembler.ini - CodeBlock comment crash

Issue:

Something that I've been aware of for a long time and knew that it was causing crashes.

Start typing comment after a single line comment, denoted by the semi-colon ; causes RadASM to crash sometimes with just the comm... part typed and you have to edit the source file in an external text editor to remove the comment and possible corrupted characters inserted at the position of 'comment' (approx)

Example:

Invoke SomeFunction, Param1    ; here is my comm...

As you start typing 'here is my comment' RadASM can sometimes crash.

Solution:

Comment out the line in the codeblock section of the Assembler.ini (masm.ini, tasm.ini etc) by prefixing the line with a ; character.

[CodeBlock] 
;15=comment,,,,32

Have begun to update the default ini files to comment this out. Will leave this issue open so others will see it as well, for the moment.

Custom controls >= 15 sometimes crashes RadASM

Temp fix is to delete the custom controls (RAxxxxx.dll's) from RadASM folder, edit RadASM.ini to specify exactly the custom controls you wish to load if total number is 15 or higher, in an effort to lower the total amount to <15.

Otherwise have observed crashes.

Added code after WinMain call, which loops through custom controls and unloads them - increased loop count up to 32 and used a constant to define that no hoping to increase the total controls that can be loaded - which also used in allocating mem for amount of controls later on in tools.asm (i think)

Could be the addition of the constant has upset the positioning of other const/vars (which radasm warns about not inserting, but adding instead, in comments where they are defined) or something else i overlooked.

NASM compilation error

So when I open an example project (or make any project) and try and run it I get the error

Executing:
"C:\Users\Lucas\Downloads\RadASM-2.2.2.3-FullPackage\Nasm\Projects\WinDlg\WinDlg.exe"
00000002

Make error(s) occured.
Total compile time 1953 ms

And it doesn't compile, I have no idea how to post the full error so if you know a way to do that please tell me so I can post it (Also sorry for the bad title, can't think of a better one)

256 resource entries maximum allowed for rc file output

Cant compile more than 256 resource items into resource files. Anything over 256 is lost when compiling.
Discovered there is a hard coded limit in RadASM to only output up to 256 resource item entries (icons, bitmaps, sounds, manifests etc)

Linux version

Hi and thank you for this greate job. is it possible to release a linux version?

Heap Corruption - Error code: 0xc0000374

RadASM crashing on load. Crashdumps and event viewer indicate error code: 0xc0000374

Removing some custom controls helps prevent this, but not entirely.

Suspect its the way I am handling the new extended properties and storing the allocated memory in the notused field of the dialog structure.

Changed the way of handling this to hopefully prevent any future crashes.

About the input with Chinese

I had Changed the Font to Chinese
RadAsm -> Option -> Font Options -> Code Edit ,
And I choose the CHINESE_GB2312

demo
Imgur

Language files are broken

Are language files under directory Language\RadXXX.lang are broken; or am i missing something?

Those might be plain txt files with UNICODE without BOM; am i right?

Maybe github itself broke those files like it did on lib files in UASMSDK repo?

RadASM creates $.pdb in debug mode

Problem

While using UASM64.ini(or MASM64.ini), and if we want to compile our sources as debug, RadASM creates appname.exe and $.pdb

Expectation

When compiling as debug we want RadASM to create appname.exe and appname.pdb

Details

In RadASM.chm, RadASM > Customizing RadASM > Assembler.ini section states that:

Special characters
' $ ' Gets the filename from topmost editor window without extension

So when we write e.g. /PDB:$.pdb, we expect RadASM to create appname.pdb, but it creates $.pdb
I have tried this on on:

  • masm
  • masm64
  • UASM64

But unfortunately if someone uses a single $ sign, RadASM interprets it as a single dollar sign. If someone uses dollar sign with a number stated under [MakeFiles], there is no problem; then RadASM interprets $ sign as appname.

Temporary workaround

Only for debug version we don't need to use linker parameter /PDB. Without this parameter link.exe already creates appname.pdb

New Project Wizard > File Creation from ini file limits to 8 files?

I am now creating ini files for MSYS2(MINGW32 and MINGW64).

In Project Wizard - Files & Folders there are 2 groupboxes: File Creation and Folder Creation. Those checkboxes are being created in runtime by reading related ini file.

You cannot add checkboxes more than 8! But I want one more!

I am going to make if we can add at most 12 checkboxes for both groupboxes?

A quick search direct me:

@mrfearless I am going to look for this, any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.