Search found 80 matches

by CurtisP
Mon Jan 08, 2018 9:00 pm
Forum: Programming
Topic: Printing float numbers in Hex using USR()
Replies: 5
Views: 223

Re: Printing float numbers in Hex using USR()

I don't mind constructive criticism, and being corrected here bother me as much as also being chastised in a whole other thread This was really just a quick hack that I came up with while working on another more involved project. When I posted it, it was I'm response to the original thread about the...
by CurtisP
Tue Dec 19, 2017 9:25 pm
Forum: Programming
Topic: Printing float numbers in Hex using USR()
Replies: 5
Views: 223

Re: Printing float numbers in Hex using USR()

Sorry for wasting your time with my ignorance. I'm done posting here.
by CurtisP
Sun Dec 17, 2017 3:38 pm
Forum: General Topics
Topic: World of Commodore 2017 - December 9-10 in Toronto
Replies: 9
Views: 269

Re: World of Commodore 2017 - December 9-10 in Toronto

Schema wrote:Bobbi you need to come to one of our monthly meetings! 3rd Thursday of every month.

http://www.tpug.ca/category/meetings/

So how long has TPUG been around now?
by CurtisP
Sun Dec 17, 2017 3:34 pm
Forum: Programming
Topic: ML design patterns (calling ROM subroutines)
Replies: 7
Views: 227

Re: ML design patterns (calling ROM subroutines)

Rather, I pointed to some 'standards' a wedge in the BASIC interpreter has to honor with regard to register usage, flag register usage, RAM usage and other side effects. Any such wedge should in principle behave as if it wasn't there , and from that point on carefully nudge the BASIC interpreter in...
by CurtisP
Sat Dec 16, 2017 9:03 pm
Forum: Programming
Topic: ML design patterns (calling ROM subroutines)
Replies: 7
Views: 227

Re: ML design patterns (calling ROM subroutines)

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.

So if you want to save those few bytes, I don't see a problem with tracking the register usage.

I'm just not sure it's always worth the trouble.
by CurtisP
Sat Dec 16, 2017 8:52 pm
Forum: Programming
Topic: Printing float numbers in Hex using USR()
Replies: 5
Views: 223

Printing float numbers in Hex using USR()

It just so happens I've been playing around in assembly with the USR function and Floating Point, so I wrote a little program to print the actual binary representation of any floating point number. The program is assembled into the cassette buffer, so load it using LOAD "FPHEX.PRG",8,1 NEW...
by CurtisP
Wed Dec 13, 2017 11:16 pm
Forum: General Topics
Topic: GeoRAM on the Vic20
Replies: 6
Views: 255

Re: GeoRAM on the Vic20

So the GeoRAM basically took up both I/O blocks on the C64, then. I need to look at three memory maps again. It seems I'm not as good at mental hexadecimal as I used to be.

Also, I was fairly certain that Geos used the GeoRAM for swapping. I don't know how many other programs supported it.
by CurtisP
Mon Dec 04, 2017 10:10 pm
Forum: General Topics
Topic: GeoRAM on the Vic20
Replies: 6
Views: 255

Re: GeoRAM on the Vic20

The I/O areas on the C64 are also 1KB. The GeoRAM design put the 256 byte page at the bottom of the 1k and the two control registers at the top, wasting a lot of space. Of course it was not really meant for direct memory access, but for memory swapping. I'm a bit dubious about the VICE implementatio...
by CurtisP
Sun Nov 26, 2017 6:31 pm
Forum: General Topics
Topic: GeoRAM on the Vic20
Replies: 6
Views: 255

GeoRAM on the Vic20

Hey guys, I'm back. Anyway, I somehow got obsessed with the idea of using GeoRAM on the Vic20 using the Masc=uerade adapter, since this configuration is supported by VICE. Anyway, here are the relevant memory locations: 40959 - $9fff - block selection, each block is 16KB 40958 - $9ffe - select a 256...
by CurtisP
Mon May 30, 2011 3:46 pm
Forum: General Topics
Topic: :-)
Replies: 10
Views: 1579

I LOLed.
by CurtisP
Mon Apr 25, 2011 7:47 pm
Forum: Hardware and Tech
Topic: Fake cassette to play/load program wav's into memory
Replies: 19
Views: 3837

I suspect the problem is that unlike other computers, the CBM's don't record audio signals on the cassette.
by CurtisP
Sun Apr 03, 2011 11:38 am
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 10933

Thanks for testing, and the quick intro to cc64. I figured that since other people are using it they would have an easier time doing the test than me. As for TCB02, the code in question would be. INCLUDE "HEADER" INCLUDE "CONSOLE" INCLUDE "PRINT" PRINT "HELLO, WORL...
by CurtisP
Sun Apr 03, 2011 11:24 am
Forum: General Topics
Topic: New Vic20 Portable
Replies: 8
Views: 2080

that is a nifty little device
by CurtisP
Thu Mar 24, 2011 3:34 pm
Forum: Emulation and Cross Development
Topic: Tiny Basic Compiler
Replies: 34
Views: 10933

Out of curiosity, if you compile a simple "Hello World" program in CC65, what will be the size of the resulting object code?
by CurtisP
Thu Mar 03, 2011 11:01 pm
Forum: Hardware and Tech
Topic: Studio Monitors
Replies: 10
Views: 1883

A local TV station here used to have Commodore 1702 monitors in their studio.

I doubt you will get a much better picture from anything else.

Go to advanced search