Search found 2957 matches

by Mike
Wed Dec 20, 2017 12:01 pm
Forum: Programming
Topic: Printing float numbers in Hex using USR()
Replies: 5
Views: 229

Re: Printing float numbers in Hex using USR()

Sorry for wasting your time with my ignorance. I'm done posting here. Sometimes fair criticism gets down the wrong throat, me guesses. Two people (wimoos and me) independently told you that there's something wrong with what you coded, and you should be able to cope with that. I suppose you could be...
by Mike
Wed Dec 20, 2017 8:17 am
Forum: Programming
Topic: Disk Copy - Two VIC-1541 Drives
Replies: 4
Views: 123

Re: Disk Copy - Two VIC-1541 Drives

My program d64trans should be perfectly up to the job: :)

http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?t=7365&start=7

Mike wrote:3. By giving '#' as file names on both source and destination device, the program can be used as dual drive disk copier.

Greetings,

Michael
by Mike
Sun Dec 17, 2017 5:04 pm
Forum: Programming
Topic: ML design patterns (calling ROM subroutines)
Replies: 7
Views: 231

Re: ML design patterns (calling ROM subroutines)

a USR() function [is] specifically designed to execute arbitrary code. And this particular code is not intended to be used inside an expression. I wholeheartedly disagree with that. USR() gets called during expression evaluation, it receives a parameter in FAC#1, likewise it is expected to return a...
by Mike
Sun Dec 17, 2017 1:34 pm
Forum: Programming
Topic: WIP: Vic GUI
Replies: 31
Views: 8682

Re: WIP: Vic GUI

Does anyone have a copy of this? Kananga moved the repository to sourceforge.net some time ago: https://sourceforge.net/projects/vin20/files/GUI/ . I noticed that unfortunately many of the files in the Releases threads are missing. Is it not possible to host them as attachments on the forum to prev...
by Mike
Sun Dec 17, 2017 1:20 pm
Forum: Hardware and Tech
Topic: Capture 6560 Data From Cart Port
Replies: 16
Views: 403

Re: Capture 6560 Data From Cart Port

P.S. you actually remember the original purpose of the TRON program in the movie? ;) TRON was a security program gone amok, wasn't it? Not at all. TRON fights for the users! 8) Actually, TRON is described by its creator, Alan Bradley, as "a monitor program, capable of detecting any malign comm...
by Mike
Sun Dec 17, 2017 5:58 am
Forum: Other Systems
Topic: plus 4 kernel
Replies: 3
Views: 112

Re: plus 4 kernel

[...] is there a routine in the kernel that determines which machine it is fitted into [...]? Yes. That determination is done in the reset routine. It is possible to provide the C16 and C116 with 64K RAM, that gets handled correctly by the KERNAL. That expansion must be done internally. External RA...
by Mike
Sun Dec 17, 2017 3:48 am
Forum: Hardware and Tech
Topic: Capture 6560 Data From Cart Port
Replies: 16
Views: 403

Re: Capture 6560 Data From Cart Port

But there is more going on here, and you must think outside the box. If all I did was the few things that you pointed out, then my FPGA would be nothing but a blind man trying to ride half a bus! I just stated the minimal requirements to pull off the trick as seen in the video. ;) If you snoop more...
by Mike
Sun Dec 17, 2017 3:22 am
Forum: Programming
Topic: ML design patterns (calling ROM subroutines)
Replies: 7
Views: 231

Re: ML design patterns (calling ROM subroutines)

Yes and No to that. With the rare exception of customized ROMs to fix bugs, I think you can assume that every VIC 20 is going to have the exact same Basic ROM. When I wrote my last post here in this thread, I did not refer to that other project , where I exchanged the BASIC ROM in my VIC-20. Rather,...
by Mike
Sat Dec 16, 2017 3:17 pm
Forum: Hardware and Tech
Topic: Capture 6560 Data From Cart Port
Replies: 16
Views: 403

Re: Capture 6560 Data From Cart Port

It's all smoke and mirrors. Of course nothing hinders you to capture CPU writes into $1E00..$1FFF and $9600..$97FF and translate their "leftover" addresses on CA0..CA13 (with /BLKx, /RAMx all being high) with a pre-programmed character set into VGA output. That won't work with much more th...
by Mike
Sat Dec 16, 2017 10:17 am
Forum: Hardware and Tech
Topic: user port usb adapter
Replies: 13
Views: 272

Re: user port usb adapter

Well I know I've seen quite a few threads about trying to make a mouse work on the vic. People are just surprised, that even though a 1351 mouse physically fits to the joystick port, it doesn't register any position values over the POTX/POTY registers, because the signalling method (just) works for...
by Mike
Fri Dec 15, 2017 1:53 pm
Forum: Hardware and Tech
Topic: Fun with CBM arithmetics, Part II
Replies: 10
Views: 435

Re: Fun with CBM arithmetics, Part II

Great, so I just have the bin dump of the Basic ROM (filename: BASIC) on drive 8 and I'm ready to go. The file should exclude the load address. [1] With VDrive of VICE (using a PC directory as mounted drive with True Drive Emulation off) or outside disk images with a SD2IEC, the file type doesn't m...
by Mike
Thu Dec 14, 2017 3:55 pm
Forum: Hardware and Tech
Topic: Fun with CBM arithmetics, Part II
Replies: 10
Views: 435

Re: Fun with CBM arithmetics, Part II

Is there a patched bin file available? You can create one from a *.bin file of the original BASIC ROM with this patch ( download ): 10 OPEN2,8,2,"BASIC,S,R" 11 OPEN3,8,3,"BASIC-P,S,W" 12 READB,C,D 13 FORT=49152TO57343 14 GET#2,A$:A=ASC(A$+CHR$(0)) 15 IFB<>TTHEN18 16 IFA<>CTHENPR...
by Mike
Thu Dec 14, 2017 1:29 pm
Forum: Programming
Topic: Fun with CBM arithmetics
Replies: 23
Views: 4712

Re: Fun with CBM arithmetics

Mike wrote:A patch will require the replacement of the BASIC ROM.

In case you've been wondering what became of this, look here. :mrgreen:
by Mike
Thu Dec 14, 2017 1:27 pm
Forum: Hardware and Tech
Topic: Fun with CBM arithmetics, Part II
Replies: 10
Views: 435

Fun with CBM arithmetics, Part II

So, after nearly 4 years I started this project I finally went to retire the original BASIC ROM of my VIC-20 (it's the chip with the Part Nr. 901486-01, together with some other removed parts - they still all work!): basic-p_01.jpg Instead an EPROM with custom configuration (built by vintage-compute...
by Mike
Wed Dec 13, 2017 11:45 am
Forum: Programming
Topic: ML design patterns (calling ROM subroutines)
Replies: 7
Views: 231

Re: ML design patterns (calling ROM subroutines)

As a rule of thumb, you can assume that most routines in the BASIC interpreter and KERNAL thrash all registers. Inthusfar, holding state in uncommitted RAM space is a quite common find for 65xx routines. For the routines in the KERNAL called by the jump table, their use of registers is well document...

Go to advanced search