Search found 59 matches

by ajordison
Wed Nov 26, 2014 1:43 pm
Forum: Chit Chat
Topic: Hello !
Replies: 23
Views: 11307

Re: Hello !

satpro wrote:How about drawing up some nice-looking buttons for an operating system? :)
An operating system with buttons?? That'll never catch on ;)login to view the rest of this post
by ajordison
Wed Nov 12, 2014 10:50 pm
Forum: WinC64
Topic: .
Replies: 2
Views: 6070

Re: Evolution (Winc64 OS) Update

Thanks for the update Bert, it's amazing progress. Do you have an army of rent-a-coders beavering away somewhere?

Needless to say, if you need any he…login to view the rest of this post
by ajordison
Wed Nov 12, 2014 10:08 pm
Forum: Software
Topic: CBM prg Studio
Replies: 43
Views: 30798

Re: CBM prg Studio

Here's another update for version 3.2.1. This one fixes some embarrassing bugs (namely in the sprite editor), but there are no new features as such. If you have any ideas for new features, please let me know!

Arthur
by ajordison
Tue Nov 11, 2014 1:39 pm
Forum: Assembly
Topic: Offsets
Replies: 20
Views: 22023

Re: Offsets

Thanks Bert, I'll have a look when I get home from work.

If something is too big to be explained in a forum post then I might have to think twice about trying to implement it!
by ajordison
Tue Nov 11, 2014 9:30 am
Forum: Assembly
Topic: Offsets
Replies: 20
Views: 22023

Re: Offsets

My mistake. :oops: The code was supposed to be:

Code: Select all

* = $02 ; place code at $02
.org $2000 ; assemble as if it is placed at $2000
lda tab ; assembles lda zp
tab: .byte 0
.reloc
So like I said, 'tab' is effectively at $2002 now so how could this work?
by ajordison
Mon Nov 10, 2014 11:26 pm
Forum: Assembly
Topic: Offsets
Replies: 20
Views: 22023

Re: Offsets

basically in your assemble you need to have two address pointers, one that is (only) used for placing the code in memory, and another that is used as the program counter when generating ml code. Yes, but what if the code is like this: * = $1000 ; place code at $1000 .org $2000 ; assemble as if it i...
by ajordison
Mon Nov 10, 2014 3:50 pm
Forum: Assembly
Topic: Offsets
Replies: 20
Views: 22023

Re: Offsets

How can offsets be applied to zero page? For example if I've set a 1000 byte offset and then assemble some zero page code, I would end up with a 16 bit address which would change the addressing mode. Or should I just guard against this and return an error of the address is too large for the instruct...
by ajordison
Mon Nov 10, 2014 2:37 pm
Forum: Assembly
Topic: Offsets
Replies: 20
Views: 22023

Re: Offsets

A couple more questions:

1) Does the offset only apply to 16 bit addresses, or could you apply it to zero page too?

2) Does the 65816 us offsets in the same way?
by ajordison
Sun Nov 09, 2014 10:29 pm
Forum: Assembly
Topic: Offsets
Replies: 20
Views: 22023

Re: Offsets

Let's all kiss and make up eh?

Right then, so now we're back on track what's the best way to control the offset directive? Could it be something as simple as using 'offs <value>' to set it and then 'offs' without a value to cancel it? Sounds too easy to me...
by ajordison
Sun Nov 09, 2014 12:36 am
Forum: Assembly
Topic: Offsets
Replies: 20
Views: 22023

Re: Offsets

Thanks guys, I think I've got the hang of now. I looked at the pseudopc directive that kickassembler uses and that had a good example, which cleared up the Turbo Macro example: In case you want your code placed at position $1000 in the memory but want it assembled like it was placed at $2000, you ca...