Activity for Virtual T

  • Stephen Hurd committed [e85b24] on Code

    Add include for atoi()

  • Stephen James Hurd Stephen James Hurd posted a comment on ticket #9

    It appears the intent was to use the same path variable. I've fixed this in current git. Please let me know if it works so I can close this.

  • Stephen Hurd committed [075845] on Code

    Fix Clang warning in TDock

  • Stephen Hurd committed [52ed70] on Code

    Use correct type for str.find() result

  • Stephen Hurd committed [aef8f2] on Code

    Fix Clang warning (Ken Pettit should really take a look though)

  • Stephen Hurd committed [6f2395] on Code

    ifdef out MakeRightChain() since it's not called

  • Stephen Hurd committed [9a5091] on Code

    Remove more ineffectual variables

  • Stephen Hurd committed [4464d0] on Code

    Minor fixes to dead code paths.

  • Stephen Hurd committed [6c96e8] on Code

    Fix Clang warning about unneeded parenthesis.

  • Stephen Hurd committed [9e6197] on Code

    Whoops, don't remove *that* one!

  • Stephen Hurd committed [bab8b5] on Code

    Fix some clang warnings by removing ineffectual variables.

  • Stephen Hurd committed [d48f70] on Code

    Fix misleading indentation that misled me for last commit. :D

  • Stephen Hurd committed [1cfb24] on Code

    Fix "misleading indentation" warings from Clang

  • Stephen Hurd committed [029fea] on Code

    Eliminate K&R function style

  • Stephen Hurd committed [b5e904] on Code

    Fix extern on path[] symbol.

  • pettitkd committed [4c8afe] on Code

    Fixed latent bug in Model 200 Display code where clearing a dot on the screen clears multiple dots.

  • Keith Palmer Keith Palmer posted a comment on discussion Open Discussion

    Thinking to check up again on this program, I was intrigued to see reports of updates to it and pleased when I was able to get the code provided by Brad Ackerman to compile on macOS 12.7.2 with shifted characters working. As I got around to trying the Epson FX-80 emulation feature, I did think about how I'd captured printer output from a Color Computer emulator only able to "save to a file" and fed that into standalone command-line programs that could turn Epson graphics commands into PDF files....

  • Brad Ackerman Brad Ackerman created merge request #3 on Code

    Fix key events on OS X to match Windows/Linux behavior.

  • Brad Ackerman Brad Ackerman created merge request #2 on Code

    OS X/memory access fixes

  • Brad Ackerman Brad Ackerman posted a comment on discussion Open Discussion

    Do you have a copy of the OCCAM repository saved? It's long gone from the interwebs and not in web.archive.org.

  • Brad Ackerman Brad Ackerman posted a comment on discussion Open Discussion

    I just built HEAD on an M1 MBP; the only change I had to make was adding #include <stdlib.h> to src/pref_form.h. I also had to export LDFLAGS="-L/opt/homebrew/opt/jpeg/lib -rpath /opt/homebrew/lib" and of course installed the head rather than bottled version of fltk since there are some vital fixes (can't remember what) in the 1.4.x series. I haven't looked into building for distribution.

  • Greg Jewett Greg Jewett posted a comment on discussion Open Discussion

    Does anyone on here have an Apple Silicon based Mac that would know if this can be built for that platform? I have Ventura 13.5.2 and a MacBook Pro M2. Thank you.

  • hackerb9 hackerb9 created ticket #9

    multiple definition of `path'

  • Keith Palmer Keith Palmer posted a comment on discussion Open Discussion

    I tried out your version on macOS 11.6.1, and the shifted punctuation characters that just didn't work in my own build typed properly. I did notice, though, that when the emulator speed is set to 2.4 MHz the screen redraws very slowly with each new line of text, as it did when I was running the Windows version 1.7 via Wine. (Bumping the speed up to "Very CPU Friendly" makes things usable, if peppier than I recall the Model 100 actually being.) Even so, I do want to thank you for your work.

  • Barry Nelson Barry Nelson posted a comment on discussion Open Discussion

    I have a new binary available of version 1.7.1 (the .1 is my minor improvements) of the Mac version of VityualT. I have added sound supprt (it beeps) and got it to build on Mac OS X 10.13. It is available here: https://drive.google.com/file/d/1-IL1jNBXgaSIk0ik-dBfsD15J25pcsfH/view?usp=sharing The method I used to get sound will probably work on Linux also, I am talking to a small independant program that uses the SDL sound libraries using a pipe. In addition to sound support, I also added looking...

  • Keith Palmer Keith Palmer created ticket #8

    Shifted punctuation keys don't type (macOS builds)

  • Curtis Vaughan Curtis Vaughan posted a comment on discussion Help

    Also I tried the compiled package: virtualt-linux64-v1.7 (for PureOS it has to be 64-bit so I can't try any of the previous packages). Any with this package I get the following error: ./virtualt: error while loading shared libraries: libjpeg.so.9: cannot open shared object file: No such file or directory I've made sure all libjpeg packages are installed, but still same.

  • Curtis Vaughan Curtis Vaughan posted a comment on discussion Help

    I cheated by basically commenting out objUnderMouse = false and got past that error, but now a new error: Compiling fl_usage_box.cpp make: --use-images: Command not found make: --use-images: Command not found Linking virtualt /usr/bin/ld: cannot find -ljpeg /usr/bin/ld: cannot find -lXinerama /usr/bin/ld: cannot find -lXext collect2: error: ld returned 1 exit status make: *** [GNUmakefile:125: virtualt] Error 1

  • Curtis Vaughan Curtis Vaughan posted a comment on discussion Help

    Compiling on Linux (PureOS - so Debian, basically), but I'm getting the following error: Compiling Flu_DND.cpp src/Flu_DND.cpp: In member function ‘void Flu_DND_Event::clear()’: src/Flu_DND.cpp:40:19: error: cannot convert ‘bool’ to ‘void’ in assignment objUnderMouse = false; ^~~~~ make: ** [GNUmakefile:171: obj/Flu_DND.o] Error 1 Any idea?

  • Justin R. Miller Justin R. Miller posted a comment on ticket #7

    Of course I notice this after I post... I just cloned the Git repository as opposed to downloading the latest source here on SF and it builds & runs just fine. So this may be a non-issue.

  • Justin R. Miller Justin R. Miller created ticket #7

    can't build on Mac 11.4

  • Ken Pettit committed [9b814d]

    Updates to get VirtualT 1.8 compiling under Windows using FLTK-1.3.5.

  • Ken Pettit committed [37b6b1]

    Added midnight theme with all black dialog boxes and menus, added RexC memory support, fixed pc8201a host file load.

  • cdeluxe cdeluxe created ticket #6

    Serial cable diagram

  • Mark Lougheed Mark Lougheed posted a comment on ticket #4

    In case you hadn't found this setting in the emulator - from the emulator menus try Emulation->Peripheral Setup, then click the Sound tab in the dialog box. Then check the "Enable Sound" checkbox. Works for me in v1.7. Cheers, MDL

  • Mark Lougheed Mark Lougheed posted a comment on ticket #5

    Here's an example project for PC-8201. Your "mileage may vary" depending on the other models supported by the Virtual-T emulator. This particular example is a code stub used to transfer data between RAM banks using the PC-8201 ROM routines. It's meant to be used with BASIC EXEC statement after POKE-ing the various target variables into memory.

  • Mark Lougheed Mark Lougheed posted a comment on ticket #5

    Here's the short answer. More detail in a later post. 1. In your project folder, create file with a .lkr extension (e.g. link.lkr) and set it in the linker script folder in the project tree. 2. In your .lkr file add a single line to indicate the start and end of the absolute code segment (assumes you have and ASEG psuedo-op before the ORG of your assembler file. CODE NAME=.aseg START=0xe380 END=0xf380 This particular command sets up the code to locate in a 4k area just below the PC-8201 bookeeping...

  • Lily Hughes-Robinson Lily Hughes-Robinson created ticket #5

    Example Linker Script

  • Ken Pettit committed [604156]

    Minor updates to tpddserver to fix warnings with -Wall.

  • Ken Pettit committed [1193b8]

    Minor updates to fix unused and possible uninitialized vars with -Wall.

  • Ken Pettit committed [dbe4cc]

    Fixed warnings with -Wall and code cleanup in src/highlight.cpp.

  • Ken Pettit committed [de71fe]

    Minor changes to fix warnings with -Wall in ide.cpp and idetabs.cpp.

  • Ken Pettit committed [4b419b]

    Minor update to src/fl_action_icon.cpp to fix warnings with -Wall

  • Ken Pettit committed [24be7b]

    Minor updates to fix unused variable warnings with -Wall.

  • Ken Pettit committed [b401e8]

    Minor fixes to src/fileview.cpp to fix warnings with -Wall.

  • Ken Pettit committed [1690ce]

    Changes to assembler and parser to fix warnings with -Wall.

  • Ken Pettit committed [46db85]

    Fixing compiler warnings in Linux in src/sound.c.

  • Ken Pettit committed [30587f]

    Fixing compiler warnings in src/chargen.cpp.

  • Ken Pettit committed [22a40e]

    Minor updates to src/disassemble.cpp to fix warnings with -Wall.

  • Ken Pettit committed [a245b8]

    Minor changes to fix unused var warnings with -Wall.

  • Ken Pettit Ken Pettit posted a comment on merge request #1

    Ok, merged.

  • Ken Pettit Ken Pettit merged merge request #1

    linux & osx makefile fixes, fl_wait()->Fl::wait(), string lengths

  • Brian K. White Brian K. White modified a comment on merge request #1

    I can't merge it you have to, or Ken I think? I never used sourceforge's git web ui before just github and gitlab. But as far as I can tell, it's waiting for you to accept or reject I think. I only have two buttons up top, "reject" and "refresh commits". I've been pressing "refresh commits after each time I added a new commit, and that made them show up here as part of the merge request.

  • Brian K. White Brian K. White posted a comment on merge request #1

    I can't merge it you have to, or Ken I think? I never used sourceforge's git web ui before just github and gitlab. But as far as I can tell, it's waiting for you to accept or reject I think.

  • Stephen James Hurd Stephen James Hurd posted a comment on merge request #1

    Looks good. I'm not overly worried about a chatty commit history, so feel free to either merge this or split it out into separate merges or even separate direct master commits.

  • Brian K. White Brian K. White posted a comment on merge request #1

    suits me

  • Brian K. White Brian K. White posted a comment on merge request #1

    Perhaps I should kill this merge request and submit the individual topics individually. This mr is messy and I apologize for that. But, now it has the last few things discussed.

  • Brian K. White Brian K. White posted a comment on merge request #1

    Ah! this I like, thank you... I was about to just declare an arbitrary large size for localpath[]

  • Stephen James Hurd Stephen James Hurd posted a comment on merge request #1

    As for commenting out code... just delete it, that's why we have version control. Maintaining the working code is hard enough, maintaining code that's not used or tested on top of that is silly. If you're really worried you may need to see it in the future, turn it into a real comment explaining why it was removed and why it may be worth leaving there. Commented out code just makes everything around it harder to understand.

  • Stephen James Hurd Stephen James Hurd posted a comment on merge request #1

    Well... with that it will replicate the last path in the list. The old code is correct, it just uses localpath as a temporary string variable. If that's what you want to fix, just declare a new string inside the function: if (strlen(errors) > 0) { char errmsg[1046] sprintf(errmsg, "No ROM file for %s", errors); show_error(errmsg); }

  • Brian K. White Brian K. White posted a comment on merge request #1

    Right, maybe this then?: if (strlen(errors) > 0) { strcat(errors, "\nNo ROM file for "); strcat(errors, localpath); show_error(errors); } For fl_wait() I just preserved what was there. I didn't put them there, and can't say that there isn't some reason for them like a hint about something that might or might not be needed.

  • Stephen James Hurd Stephen James Hurd posted a comment on merge request #1

    In d28673, check_installation now throws out the list that was carefully constructed in errors and only shows the last path that failed. In e999a0 it's not clear why fl_wait() is comment out in some cases rather than simply deleted.

  • Brian K. White Brian K. White created merge request #1

    linux & osx makefile fixes, fl_wait()->Fl::wait(), string lengths

  • Ken Pettit committed [88966b]

    Added -ldflags to FLTK env variables in GNUMakefile.

  • Ken Pettit committed [399357]

    Fixed Save To Host ASCII mode bug where ASCII values > 127 in quotes were being

  • Ken Pettit committed [34e04d]

    Updated tpddserver class to derive from new VTServer base class. This is in

  • Ken Pettit committed [1578a8]

    Fixed warning in display.cpp with fl_choice call for Cold Boot.

  • Ken Pettit committed [5b34e5]

    Updates to tdock sources to add support for locking the label line.

  • Ken Pettit committed [6c8bd2]

    Checking in missing code added to IDE / Linker to automatically load

  • Tom Wilson Tom Wilson posted a comment on ticket #6

    Updated source file

  • Stephen James Hurd Stephen James Hurd committed [8a11dd]

    Fix copy pasta.

  • Stephen James Hurd Stephen James Hurd committed [dda898]

    Fix harmless warnings.

  • Tom Wilson Tom Wilson posted a comment on ticket #6

    @kpettit1 This works I wrapped the affected lines in an #if block, and the performance looks much like my T102. Thank you!

  • Tom Wilson Tom Wilson modified a comment on ticket #6

    Thanks. I still can't get the code to link - fltkz.lib is missing. I'm wondering if I have the wrong fltk version. ** Edit: never mind. Figured it out. It requires FTLTK 1.1.

  • Tom Wilson Tom Wilson posted a comment on ticket #6

    Thanks. I still can't get the code to link - fltkz.lib is missing. I'm wondering if I have the wrong fltk version.

  • Ken Pettit committed [28d21e]

    Changed assembler.cpp LookupSymbol / Define logic.

  • Ken Pettit committed [0ab310]

    Updated CPU regs trace bug where L register was showing E values.

  • Ken Pettit committed [2e2f6a]

    Shortened the LCD response time in io.c to more closely match the real HW. Needs

  • Ken Pettit Ken Pettit posted a comment on ticket #6

    The issue is in io.c on line 1272. The code is checking the hirestimer to see if enough time has passed prior to reporting the LCD controller as ready after an access. Commenting out lines 1268 - 1274 causes the emulation to add zero delay, but I found this is actually faster than the real hardware, and code that runs in VT may not actually run on a real machine. A better approach would probably be to profile the time a little better than I did in 2015 and change the the line: if (lcdTime[c]+.000014...

  • Ken Pettit Ken Pettit posted a comment on ticket #6

    Hey Guys, I know where the problem is. A few years back when I was working on AsciiPixels, I had noticed that my code would work fine in VirtualT, but would not update the display on a real M100 / 102 correctly. The issue was in the response times of the LCD driver chips. So in V1.7, I tried to add emulation of the driver chip delays. I think this delay is a bit too much, and that is what is causing the slow response you are seing. Ken

  • Tom Wilson Tom Wilson posted a comment on ticket #6

    Sure. i have not been able to build the project yet - I am still messing with getting the missing library components in the right place. I am hoping to get a chance to play with it this weekend.

  • Stephen James Hurd Stephen James Hurd modified ticket #3

    Virtual T com port emulation fails with com0com on Win32

  • Stephen James Hurd Stephen James Hurd posted a comment on ticket #3

    Closing old tickets, please re-open if you still care.

  • Stephen James Hurd Stephen James Hurd modified ticket #3

    Building VirtualT in 32bit Ubuntu 14.04 LTS

  • Stephen James Hurd Stephen James Hurd posted a comment on ticket #3

    Closing old tickets, please re-open if you still care.

  • Stephen James Hurd Stephen James Hurd modified ticket #2

    VirtualT Build on Slackware Linux

  • Stephen James Hurd Stephen James Hurd posted a comment on ticket #2

    Closing old tickets, please re-open if you still care.

  • Stephen James Hurd Stephen James Hurd committed [158326]

    Remove usage of obsolete register storage class.

  • Stephen James Hurd Stephen James Hurd committed [85753e]

    Fix some more harmless warnings.

  • Stephen James Hurd Stephen James Hurd committed [b65e00]

    Silence warnings when if (x = y())

  • Stephen James Hurd Stephen James Hurd committed [662af6]

    Use delete[] for new char[x] allocations.

  • Stephen James Hurd Stephen James Hurd committed [715da5]

    gettimeofday() is declared in sys/time.h

  • Stephen James Hurd Stephen James Hurd committed [f1e049]

    Fix pointer initialization.

  • Stephen James Hurd Stephen James Hurd committed [8b9bb5]

    Silence Clang warning

  • Stephen James Hurd Stephen James Hurd committed [738f3b]

    Add space required by C++11

  • Stephen James Hurd Stephen James Hurd committed [3d6883]

    Fix obviously incorrect comparison.

  • Stephen James Hurd Stephen James Hurd posted a comment on ticket #6

    I've converted the repo to git... if you could bisect from 1.6 (82a9ab) to 1.7 (bc298f) and figure out where the time difference occurs, it should be fairly simple to fix. There's a history of large combined commits in this repo, so it's hard to figure out exactly which commit corresponds to the change.

  • Stephen James Hurd Stephen James Hurd committed [72f66a]

    Initial revision

  • Stephen James Hurd Stephen James Hurd committed [90e859]

    Initial revision

  • Stephen James Hurd Stephen James Hurd committed [6a4e89]

    Add wrapper files.

1 >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.