BasEdit.NET - ein CBM-Basic Editor auf dem PC


Beispielscreens - links mit Zeilennummern, rechts im Label-Mode

BasEdit.Net.png

Aktuelle Version hier: Download
(bisher nur eine englische Version, aber das sollte hartgesottene Commodore Fans nicht abschrecken)
Geschrieben in VB.NET 2008 Express Edition, benötigt ein installiertes .NET Framework 3.5 auf dem PC

Diskussion hier (in englisch): Denial Forum
und hier (in deutsch): Forum64


Featurelist

Purpose:

Edit Commodore Basic files on the PC with syntax highlighting and support of the full PETSCII character set

Features:

- full featured editor
   - unlimited lines
   - syntax highlighting
   - cut&paste
   - search&replace
   - insert and overwrite mode
   - switch font size small / big
   - switch font upper/graphics - lower/upper
   - supports special characters for cursor movement and colors in strings
   - character window with all 256 PETSCII characters, double-click to insert characters at actual position
   - right-click on a line number to jump to that line
- load and save tokenized BASIC (PRG) files
- load and save PETSCII (untokenized) files
- load and save ASCII files
   - with support of different translations for {up}, {down}, {clr} etc.
     - BasText
     - PetCat
     - Tok64
- support for
   - host filesystem (= directories on PC)
   - diskimages (read & write)
     - D64
     - D71
     - D81 (no partitions)
     - attach existing or create empty diskimages
     - diskmanager tool integrated
       - copy files from / to diskimage
       - delete files
       - rename files
       - change order of files in directory
- copy and paste ASCII blocks via clipboard using the above translations
- supports different Basic dialects
   - Basic V2
   - Basic V3.5
   - Basic V4
   - Basic V4/C64
   - Basic V7
   - Basic V10
   - @Basic
   - Exbasic Level II
   - Wimbasic
   - Speech Basic
   - Turtle Basic
   - Waterloo Structured Basic
   - Super Expander
- supports different fonts (VIC-20, C64)
- change load adress of PRG file
- Save&Run file in editor with emulator via F5
   - file will be automatically converted from label to line# mode if necessary
   - prg file will bes saved (host filesystem or diskimage, wherever it was loaded from)
   - depending on the start address of the PRG file special emulators will be automatically selected
     --> VIC +3K, PET/CBM series
     --> C64
     --> VIC unexp, VIC +SuperExpander, Plus/4, C16
     --> VIC +8K and more
     --> C128
     --> CBM II series
   - and a setting for a standard emulator if none of the above will be selected
- two different edit modes:
   a) line# mode: the classic editing mode with line#
     - Renumber feature for the whole program or blocks of line#s
     - Auto mode with intelligent numbering when inserting lines between existing lines
     - Compact source to squeeze as much commands in one line as possible
     - Cross refernce to show all jumps and all usages of variables
     - Syntax Check
     - Proofreader support for Compute '83 and '86 versions
     - import binary data with conversion to data lines and an optional POKE-loop
   b) label mode: enhanced editing mode without line# like in modern Basics
     - one command per line
     - indentation of loops
     - special comments with ' (single apostroph) will be ignored when converting to line#
   - programs can be converted from/to both modes at any time, substituiton of line#/labels will be done automatically
- project mode
   - keeps both edit modes in sync, providing a line# PRG file and a label mode PETSCII file for editing
   - when using label mode, variables can be of any length and will be shortened automatically when transforming into line# mode
     - shortening of variables keeps track of used variables to avoid double usage (CHECK and CHECK1 will be transformed to CH and CE, for example)
- drag and drop files onto BasEdit icon or onto edit area in running BasEdit will load that file
- free definable keyboard layout
- Basic tokens, ASCII tokenizer, different emulators, colors, fonts etc. can be changed via BasEdit.Ini or special files


Englische Kurzhilfe:

movement:

cursor keys - move around
home - start of line
end - end of line
ctrl-left - go one word left
ctrl-right - go one word right
pgup - one page up
pgdown - one page down
ctrl-pgup - goto first line
ctrl-pgdown - goto last line
ctrl-home - goto first char
ctrl-end - goto last char
mouse click - move cursor to mouse position

block commands:

(blocks can be either some chars in >one< line or multiple >complete< lines)
shift cursor keys - mark text
shift-del - cut block, copy to blockbuffer
ctrl-del - copy block to blockbuffer
shift-ins - insert blockbuffer

other commands:

num lock - switch between 16x16 (standard) and 8x8 (small) font
ins - switch between insert and overwrite mode
ctrl-shift - switch between fonts (upper+graphics / upper+lower)
F1 - help
F2 - show font
F3 - search
shift-F3 - search next
F4 - replace
F5 - save and run program

right mouse click opens context menu for loading and saving files,

switching between label- and line#-mode, crunching file etc.


Verschiedende Schriftgrößen und Fonts:

C64/VC20 16 und 8 Pixel

BasEdit5.png



Menüs:


BasEditMenu1.png BasEditMenu2.png BasEditMenu3.png
BasEditMenu4.png BasEditMenu5.png BasEditMenu6.png

Ladeadresse-Auswahl:


BasEdit4.png



Proofreader-Checksummen:


BasEditProof.png



Beispiel für die Umwandlung Zeilennummer - Labels:

Quelltext mit Zeilennummern:

BasEdit2.png


Quelltext mit Labels:

BasEdit3.png



Crossreferenzen:

Kurze Crossreferenz:

BasEditXRef.png



Lange Crossreferenz:

BasEditXREf2.png