6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri May 10, 2024 11:56 am

All times are UTC


Search found 194 matches
Search term used: 65816 Search these results:

Author Message

 Forum: Programming   Topic: 65816 Branch Instructions

 Post subject: 65816 Branch Instructions
Posted: Sat Jan 31, 2009 6:29 pm 

Replies: 1
Views: 2199


Do the 65816 branch instructions cross 64k bank boundarys or do they loop back around to the start of the program bank? I've looked this up in the WDC 65816 programmers reference manual. Rather unhelpfully, it starts to say something ...

 Forum: Programming   Topic: 65816 Addressing modes and cycle counts.

Posted: Fri Dec 12, 2008 1:25 am 

Replies: 14
Views: 8439


I have a few questions about the addressing modes of the 65816 MCU. 1) Is there any difference in the operation between the following modes: E=1, X=1, M=1 and E=0, X=1, M=1 ? 2) I understand that I can move the "zero-page" to a arbitrary location ...

 Forum: Programming   Topic: Register size-independent 65816 code

Posted: Fri Jan 18, 2008 5:35 am 

Replies: 2
Views: 3126


... it does matter, the above technique might work best. .a8 ; tell assembler to use 8-bit immediate values for accumulator and #$0F nop ; What the 65816 sees when in 16-bit accumulator mode: and #$EA0F The same should apply to X and Y as well, though size-independent use of them would be less common. ...

 Forum: Programming   Topic: 65816 Native Mode Programming

Posted: Mon Jan 14, 2008 9:14 pm 

Replies: 11
Views: 6734


I have started my journey into 65816 native mode programming. Doing things to work outside of the first 64K requires a lot of re-thinking. The 65816 also allows for greater flexibility. Having a repository of useful code snipets would be ...

 Forum: Hardware   Topic: 65816 project (formerly 65816 code in Programming Group)

Posted: Thu Oct 18, 2007 3:35 pm 

Replies: 8
Views: 5702


... code revision, I have hit a road block. I am feeding a 14.318MHz TTL Osc into my 95108 CPLD and dividing it down to 7.159MHz to feed the PHI2 on 65816. Using a 50Mhz Scope, the clock waveform looks terrible on both the TTL oscillator and the PHI2 output. I recall "Kc5tja" having issues ...

 Forum: Programming   Topic: 65816 code

 Post subject: 65816 code
Posted: Wed Oct 03, 2007 11:10 pm 

Replies: 12
Views: 7629


... ($010000 - $01FFFF) with a color pattern, wait 10 seconds, inc the color pattern (repeating all 256 patterns), and refill the buffer. I am using a 65816 running at 7.159MHz with 512K of RAM. I'll need to run the processor in native mode in order to access RAM above 64K. This is my first 65816 program ...

 Forum: Emulation and Simulation   Topic: 6502/65816 emulators written in Pascal?

Posted: Wed Aug 15, 2007 10:32 am 

Replies: 10
Views: 9134


Hallo allemaal,


Various emulators I know, like VICE, are written in C. Does anyone know an emulator of a wellknown computer written in (Turbo) Pascal?

Thanks!

 Forum: Programming   Topic: XA65 with 65816 :: es posible?

Posted: Sat Sep 16, 2006 8:18 pm 

Replies: 7
Views: 5515


... of ACME is starting to get annoying for extensive macro usage. Therefore, I'm currently researching XA65. However, while the XA65 allows for 65816 opcodes, it doesn't look like it has any equivalent to the .al, .as, .rl, and .rs pseudo-opcodes. These POs are used to convince the assembler ...

 Forum: Emulation and Simulation   Topic: 65816 Emulator

 Post subject: 65816 Emulator
Posted: Fri Sep 08, 2006 4:46 pm 

Replies: 18
Views: 19256


I've e-mailed the author of XGS, to see if I can get some tips on ripping the 65816 emulator out of it and being able to compile it as a shared library under Linux. I looked at XGS 0.5.0 (which is probably ancient, since the website hadn't been updated since 2002), ...

 Forum: Forth   Topic: 65816 Assembler in Forth

 Post subject: 65816 Assembler in Forth
Posted: Thu Apr 20, 2006 1:20 am 

Replies: 1
Views: 6268


I've done it! I've successfully spent about 8 hours writing a full-featured 65816 assembler, in Forth, for Forth. Below's a sample of how it's used. The only things to add onto it are words to save the binary images in Commodore PRG and/or raw-binary format. S-Record ...

 Forum: Programming   Topic: Object Oriented Dispatch on 65816

Posted: Sat Dec 31, 2005 3:38 pm 

Replies: 62
Views: 19463


... something that is becoming increasingly popular in all areas of programming, including embedded systems (hence its applicability to the 65816): object oriented dispatching mechanisms. Object orientation has proven its worth time and time again. To be fair, OO is, really, nothing more ...

 Forum: Hardware   Topic: 65816 COP instruction

 Post subject: 65816 COP instruction
Posted: Mon Sep 12, 2005 3:27 am 

Replies: 51
Views: 7092


The 65816 COP instruction interfaces to a coprocessor. How can I hook up a 65816 to a coprocessor so the COP instruction will interface to it?

 Forum: General Discussions   Topic: 65816 datasheet has a bug...

Posted: Thu Jun 09, 2005 7:23 pm 

Replies: 2
Views: 2829


http://www.6502.org/documents/datasheet ... b_2004.pdf

On page 31, the datasheet has the 65802 timing diagram, not the 65816's. Note the lack of bank address timing on the data bus, and the reference to SYNC instead of VDA and VPA.

 Forum: Hardware   Topic: 65816 Hardware Memory Protection

Posted: Sun May 01, 2005 7:23 am 

Replies: 16
Views: 11156


I don't know a ton so this is all theoretical, but I believe I have generated a rough method of adding memory protection to a 65816 and would like to spark discussion on this. This won't work on 6502 because of lack of an ABORTB pin+interrupt that cancels the currently executing instruction. ...

 Forum: Forth   Topic: 65816 direct threaded NEXT

 Post subject: 65816 direct threaded NEXT
Posted: Mon Feb 07, 2005 6:14 am 

Replies: 16
Views: 14963


... the X register is left free, so it can be used as the data stack pointer. Note that this is different from subroutine threading. In STC, the 65816 PC register is Forth's IP register, the S register is the return stack pointer, and RTS is EXIT (unnest). In this DTC implementation, the S register ...
Sort by:  
Page 12 of 13 [ Search found 194 matches ]


All times are UTC


Jump to: