Search found 4673 matches

by Mike
Wed Oct 12, 2005 6:34 am
Forum: Programming
Topic: Can Screen or Char memory go into expansion memory ..
Replies: 9
Views: 2893

Martin, I had published an example program here in Denial, that utilises the 160x192 bitmap mode. It was hosted on my student's account, which now unfortunately is defunct. Until I get the time to set up a new web-site the program can't be accessed from here. If you are interested, PM me your e-mail...
by Mike
Tue Oct 11, 2005 6:44 am
Forum: Programming
Topic: Can Screen or Char memory go into expansion memory ..
Replies: 9
Views: 2893

The VIC can only address RAM that's built into the machine. That said, to implement 160x192 pixels, I let both screen memory and char memory start at $1000, thus I write $CC into $9005. The first usable character is 'P', and so the bitmap effectively starts at $1100. We had another discussion about ...
by Mike
Thu Oct 06, 2005 7:21 am
Forum: Programming
Topic: Crunch this BASIC code
Replies: 6
Views: 1866

Hmm, 1 DIMDY(3),DD(3):FORT=0TO3:READDY(T),DD(T):NEXT:DATA15,-1,300,-10,-15,1,-300,10 2 INPUT A 3 TI$="000000" the main program reduces to: 10 Y=Y+DY(A-9):D=D+DD(A-9) and ends with: 14 PRINT TI,FRE(0),Y,D FRE(0) reports 3362 Bytes free (as opposed to your second solution with 3443 Bytes fre...
by Mike
Wed Oct 05, 2005 12:54 am
Forum: Hardware and Tech
Topic: dc motor driver circuit
Replies: 13
Views: 3654

Uhh, yes! :oops:

You need two additional transistors, to prevent that happen.

I found a diagram at http://vsim.freeservers.com/walk-kit.html for a H-Bridge:

Image

Me sorry,

Michael
by Mike
Tue Oct 04, 2005 10:53 am
Forum: Hardware and Tech
Topic: dc motor driver circuit
Replies: 13
Views: 3654

If you put +5 Volts to the left I/O Line, the left NPN will open, while the PNP will shut off. Additionally if you put 0 Volts to the right I/O line, you'll short circuit the upper right PNP and lower left NPN transistor, probably not what you've intended. The H-Bridge can be made of four relay swit...
by Mike
Tue Sep 06, 2005 12:44 am
Forum: Programming
Topic: ROM calls and other tricks
Replies: 33
Views: 65589

SYS(53387)E$ also works. Here 53387 is included in parenthesis so E can't be mistaken as ... ;)

Michael
by Mike
Thu Sep 01, 2005 1:09 am
Forum: General Topics
Topic: Hiya All
Replies: 4
Views: 2166

Some digital archeology - this is the file information of the image I possess. sa00.jpg: Size 768x512, 44780 Bytes, Date December 3rd, 1993. The Arcade BBS has stored the same file, under ftp://arcade.demon.co.uk/data/067500/068200/068234 I presume this is a version that underwent no additional proc...
by Mike
Wed Aug 31, 2005 12:52 am
Forum: General Topics
Topic: Hiya All
Replies: 4
Views: 2166

Hi Ratamnim, Welcome to this forum. I'll take it for granted you've also used an Acorn RiscPC before... since your 'avatar' clearly is sa00.jpg from THE slide show. Seriously, yesterday I installed all those 100 images as screen saver slide show on my PC at work. :) What a coincidence. Greetings, Mi...
by Mike
Thu Aug 25, 2005 6:54 am
Forum: Programming
Topic: Sprites in ML
Replies: 55
Views: 22439

I've found the following code example:

http://wwwhome.cs.utwente.nl/~schooten/ ... bitmap.txt

It displays XOR'ed sprites (or should one say 'shapes' a la C16/+4/C128?) within a 176x176 bitmap.

Michael
by Mike
Wed Aug 17, 2005 5:55 am
Forum: Programming
Topic: ML routines in BASIC programs
Replies: 9
Views: 5907

This is my version, a BASIC/ML hybrid: 0 POKE1,18:POKE2,16:REM{39 Z's} 1 FORT=0TO38:READA:POKE4114+T,A:NEXT 2 DATA173,31,145,74,74,41,7,170,173,32,145,73,128,41,128,10,125,50,16,8 3 DATA168,173,57,16,40,16,2,169,255,76,145,211,255,21,233,255,255,22,234 RUN this once. After this you can delete the li...
by Mike
Tue Aug 09, 2005 2:03 pm
Forum: Programming
Topic: Tape Autostart
Replies: 0
Views: 1918

Tape Autostart

Hi, all, This one could probably fit in the section 'ML and Other Programs' as well, I decided against it, because it's only a tool, not a program in its full right. Anyway, here we go: Write a autostart header to tape: 10 FORT=1TO32:READA:M$=M$+CHR$(A):NEXT 11 N$="AUTOSTART" 12 S$=LEFT$(N...
by Mike
Wed Aug 03, 2005 1:11 am
Forum: General Topics
Topic: multicolor and hires graphics
Replies: 10
Views: 4504

I didn't see that CurtisP suggested top to bottom, then right to left , but ... at first the array DIM B(7) shall contain B(0)=128, B(1)=64, ... , B(7)=1 ... then, if you put the characters left to right, and then top to bottom you'll get this address-scheme (assuming double-height chars 20x12): 0| ...
by Mike
Mon Jul 25, 2005 1:51 am
Forum: General Topics
Topic: multicolor and hires graphics
Replies: 10
Views: 4504

@CurtisP:

Of course we don't want to re-create the, uhm rather interesting, addressing scheme of the C=64. ;)

@Thomas:

I'd vote for 160x192, too. It makes optimal use of the memory between 4096 and 8191, and it doesn't clobber the bottom 1K. I employ this mode for my program VIC Life.

Michael
by Mike
Wed Jun 01, 2005 3:13 am
Forum: Programming
Topic: Tip - Get a calculator that can use HEX, BIN etc!
Replies: 24
Views: 6195

First of all: 3735928559=57005*65536+48879

And they are useful values to indicate uninitialised memory, when read in Hex. ;)
by Mike
Tue May 31, 2005 9:34 am
Forum: Programming
Topic: Tip - Get a calculator that can use HEX, BIN etc!
Replies: 24
Views: 6195

Octal numbers are used in the chmod command in Un*x. In former times there were machines with 6-bit bytes (as the CDC's), where 2-digit octal numbers "naturally" fit into. And, to get back to: [...]decimal equivalence of $7CBA?[...] I just could ask, what is the hexadecimal equivalence of ...