Search found 60 matches

by Alienthe
Mon Oct 05, 2015 5:52 pm
Forum: Emulation and Simulation
Topic: The 65816 as the basis for a virtual 16 bit CPU ("65V16")
Replies: 24
Views: 6239

Re: The 65816 as the basis for a virtual 16 bit CPU ("65V16"

Broccoli requires delicate handling. If you boil it until it changes colour into a green-yellow tinge you have overdone it. It should remain dark green and be a little crispy, or "al dente". Alternatively you can stir fry it - fast and efficient.

I should perhaps make some witty comments on boiling ...
by Alienthe
Mon Jul 20, 2015 6:40 pm
Forum: Hardware
Topic: Idea. Extension the stack.
Replies: 19
Views: 1745

Re: Idea. Extension the stack.

To follow up on that idea, you could have the window always aligned so that 00 is TOS (which is what you stated) and then 01 is next etc. no matter what the stack pointer was (which I am not sure you indicated).That means massaging stacked values as in the example earlier could be done on zero page ...
by Alienthe
Mon Jul 20, 2015 6:19 pm
Forum: General Discussions
Topic: Crazy 6502/Z80 hybrids?
Replies: 19
Views: 5351

Re: Crazy 6502/Z80 hybrids?

I was told many years ago that Am9511 was easily interfaced to Z80 but a dog wrt. 6502. It was possible and I knew someone who did it, using rather a lot of interfacing chips but it was considered painful and expensive.
by Alienthe
Mon Jul 20, 2015 6:13 pm
Forum: General Discussions
Topic: CPUs code density comparison
Replies: 21
Views: 4323

Re: CPUs code density comparison


load_inc16:
lda (0,x) ; look mom, (dp,x) !!

Yes, I should have seen that one. Well spotted.
This also frees up the Y register for other useful things. I thought about using (dp),y but it just doesn't seem to fit into the decompression algorithm very well, except in the degenerate case of Y ...
by Alienthe
Sun Jul 12, 2015 7:53 pm
Forum: General Discussions
Topic: CPUs code density comparison
Replies: 21
Views: 4323

Re: CPUs code density comparison

True, it could be a macro but then again the code density would drop like a brick. In this case the name of the game is code density and everything else can be sacrificed. So to expand on my earlier comment, the typical use case is like this:
lda (POINTER),Y ; load byte
ldx #POINTER ; 16-bit ...
by Alienthe
Sun Jul 12, 2015 1:47 pm
Forum: General Discussions
Topic: CPUs code density comparison
Replies: 21
Views: 4323

Re: CPUs code density comparison

Wouldn't it be possible to push the few zero page locations onto stack rather?

A more intriguing solution is to save data onto the SWEET-16 register are and, for added bonus, use it to do the 16-bit heavy lifting. After all the author brought on the limitations from using Apple 2 as the platform ...
by Alienthe
Sun Jul 12, 2015 1:39 pm
Forum: General Discussions
Topic: It's 2015 and the 6502 is still kicking?
Replies: 6
Views: 3225

Re: It's 2015 and the 6502 is still kicking?

Discrete chips with 6502 etc. are still useful got prototyping boards, especially if you also need analogue parts and cannot make the entire prototype inside an FPGA. WDC makes some truly impressive claims: Annual volumes in the hundreds (100’s) of millions of units keep adding in a significant way ...
by Alienthe
Sun Jul 12, 2015 1:28 pm
Forum: General Discussions
Topic: OT: Who invented the Personal Computer?
Replies: 75
Views: 10356

Re: Who invented the Personal Computer?

I think programming is a mental discipline - like teaching numeracy and simple mathematics, teaching simple programming seems to me to have merit. I liken computer programming to creating or composing music.
Yes! Software, and in my opinion hardware design too, is about creativity.

In days of old ...
by Alienthe
Sun Jul 12, 2015 1:09 pm
Forum: General Discussions
Topic: Curiosity: 18MHz 6502 in USB optical mouse chip
Replies: 6
Views: 1732

Re: Curiosity: 18MHz 6502 in USB optical mouse chip

No mention of any kind of programming sequence? No mention of any program memory for that matter. Intriguing. Besides what it's made for, what could you do with it...
Well, it looks like a modular system on a chip and a rather complex one too. Add a second 6502 with a tube interface and you get a ...
by Alienthe
Sun Jul 12, 2015 12:59 pm
Forum: Hardware
Topic: Idea. Extension the stack.
Replies: 19
Views: 1745

Re: Idea. Extension the stack.

The instruction TSX is a clear indication that you are about to access the stack directly. So why not use TSX as a mode switch to map the stack temporarily into $100 - $1ff? You could then use TXS to return to the mode where stack lives in its own separate area. Using a separate area for stack ...
by Alienthe
Sun Jun 21, 2015 9:08 pm
Forum: General Discussions
Topic: CPUs code density comparison
Replies: 21
Views: 4323

Re: CPUs code density comparison

The paper is from 2009. I tried to find updates or source code with no success until I saw this: http://lwn.net/Articles/647636/#Comments with a link to an update . There is a Git repository.

Of course it is possible that the author is a capacity on assembly programming but the below extract ...
by Alienthe
Mon May 25, 2015 9:18 pm
Forum: Programming
Topic: Instruction use frequency?
Replies: 36
Views: 88635

Re: Instruction use frequency?

A modern optimizing C compiler can generate more efficient code than even an assembly language programmer can produce. In this modern highly evolved information age, low level programming is going the way of valves and relay sets.

They have been saying that for at least 30 years. At least. And it ...
by Alienthe
Mon May 25, 2015 8:54 pm
Forum: General Discussions
Topic: OT: Trade Dress Protection and Patent Law : Apple Vs Samsung
Replies: 3
Views: 1175

Re: OT: Trade Dress Protection and Patent Law : Apple Vs Sam

There is an issue here about terminology. A "patent" in the US can mean two very different things and should be written in full, not abbreviated into ambiguity:
"utility patent" - what is known as "patent" in the rest of the world - protecting a technical invention
"design patent" - what is known as ...
by Alienthe
Mon May 25, 2015 8:48 pm
Forum: General Discussions
Topic: Why do we do this?
Replies: 21
Views: 7359

Re: Why do we do this?

The 6502 is an elegant processor from a more civilized age, to rephrase the expression. The age was when software and hardware was as much art as it was science. And this is where I remember the old days.
by Alienthe
Wed Sep 03, 2014 7:02 pm
Forum: Programmable Logic
Topic: M65C02A Forth VM Support
Replies: 40
Views: 9729

Re: M65C02A Forth VM Support

If Forth support is the core here, have you looked at the 65EL02 design by Eloraam?
http://www.eloraam.com/nonwp/redcpu.php
http://www.eloraam.com/blog/2012/04/22/rp-control-internals/
http://integratedredstone.wikispaces.com/RedPower+Control
http://integratedredstone.wikispaces.com/65EL02


He ...