You need an actual VIC.

Moderator: Moderators

Vic 20 Drifter
Posts: 27
Joined: Wed Jul 18, 2012 10:37 pm

Re: BasEdit.NET

Postby Gurce » Thu Feb 18, 2016 5:03 pm

> Main problem is that I don't quite understand the code, seems it would be an easy thing to add if one knew what the parts were doing.

Yep, I hear ya man. Though I'll confess, In general, it's always a difficult thing to do, to inherit somebody else's legacy and build on top of it.

But still, if the itch/desire is there, that's cool, one day it can grow to a level where you say, "God damn it, I want this facility now!" and you bust a gut to make it happen :)

User avatar
Posts: 857
Joined: Tue Jun 08, 2004 12:20 pm

Re: BasEdit.NET

Postby Schlowski » Wed Dec 07, 2016 1:25 am

Hi, after a long time I used my BasEdit once again and stumpled upon an old and long standing error:
When jumping wordwise left or right (ctrl-left, ctrl-right) sometimes the display got out-of-sync, i.e. showing a lot of spaces before the first character:


Code: Select all



Code: Select all

           10 PRINT "HELLO WORLD!"

And finally I found the offending code :D
In modUtility.vb there are two routines, EditWordLeft and EditWordRight which have one subtle little error inside.
At each routine just before they end is a code block which adjusts the offset of the cursor to the horizontal scrolling offset. And here I mixed X and Y and used EditInfo.OffY instead of EditInfo.OffX :oops:

wrong code:

Code: Select all

         If p >= 0 Then
            EditInfo.X = p - EditInfo.OffY
            EditInfo.ShowLine = True
         End If

correct code:

Code: Select all

         If p >= 0 Then
            EditInfo.X = p - EditInfo.OffX
            EditInfo.ShowLine = True
         End If

I updated the versions I host (source and binary) to version 1.43.

I thought I place the info here so someone can make these changes in the Github-version, too.

User avatar
Vic 20 Afficionado
Posts: 345
Joined: Thu Dec 01, 2011 9:14 am

Re: BasEdit.NET

Postby Witzo » Wed Feb 22, 2017 1:03 pm

Last December I had a hard disk crash. I've spent some time at the Ubuntu terminal last night and today and have managed to get VICE back running, and Wine, to run BasEdit. And it works again!

Wine's final problem was being 64-bit, and it needed to be 32-bit, which was, after lots of googling, finding, achieved thusly:
~/.wine$ mv ~/.wine/ ~/oldwine/
~$ WINEARCH=win32 winecfg

User avatar
Musical Smurf
Posts: 4034
Joined: Mon May 03, 2004 10:47 am

Re: BasEdit.NET

Postby Boray » Sun Aug 27, 2017 1:16 pm

You are better off using mono directly to run .net applications in Linux. You need to install specific packages for visual basic support in mono.
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)

Return to “Emulation and Cross Development”

Who is online

Users browsing this forum: No registered users and 1 guest