Search found 9 matches

by beethead
Tue Jul 23, 2024 10:54 pm
Forum: Emulation and Simulation
Topic: Kowalski Simulator Updates
Replies: 468
Views: 687721

Re: Kowalski Simulator Updates

OK, three votes for an error message. Glad there was a consensus! I'll make that change to the assembler code and get an update posted in a few days.

thank you all for your input!
Daryl

Little late to the voting booth but I agree with throwing an error if the accumulator is set as 8bit mode ...
by beethead
Sun Dec 03, 2023 6:23 pm
Forum: Programming
Topic: '816 Assembler, & 512 byte Bootloader + Mini-Monitor!
Replies: 11
Views: 2707

Re: '816 Assembler, & 512 byte Bootloader + Mini-Monitor!

I went looking through the lists of '816 assemblers, but have been unimpressed. Maybe I didn't look into them well enough. What '816 assembler do you use? What do you like about it? What do you not like about it?
I use a homemade assembler with the concept from Table Assembler (external CPU ...
by beethead
Wed Dec 22, 2021 12:01 pm
Forum: Programming
Topic: Christmas Challenge
Replies: 36
Views: 11105

Re: Christmas Challenge

I'm too late but my attempt comes in at 66 bytes on the C256 Foenix's 65816 using my own assembler.
cpu '65816'
org $60
const width=72
const treepattern=array(1,3,5,9,3,7,11,15,19,5,11,17,23,3,3)
PUTC = $001018
main:
phk
plb
sep #$30
ldy #sizeof(treepattern)-1
-
lda #' '
ldx treedata,y,b ...
by beethead
Sun Nov 08, 2020 7:14 pm
Forum: Programming
Topic: What assembly syntax is good to support in an assembler?
Replies: 47
Views: 13792

Re: What assembly syntax is good to support in an assembler?

One of the features I use and value most in the macroassembler AS is named local labels. Any label that starts with a period is considered local to the scope between the two nearest global labels. I find things like JMP .loop and BEQ .exit to be a lot more readable and reliable than using the ...
by beethead
Thu Jul 02, 2020 8:48 pm
Forum: Programming
Topic: Limitations of Tile Graphics on the C64?
Replies: 12
Views: 2179

Re: Limitations of Tile Graphics on the C64?

Take a look at addresses $D018 and $DD00 which from my memory sets the address of where the tile set/character memory/font is located in a 16KB bank and which 16KB bank is seleected. If you time the change of values at those addresses with a raster interrupt you'll be able to display more than one ...
by beethead
Thu May 28, 2020 6:15 pm
Forum: General Discussions
Topic: Origin of Cardinal=Dword?
Replies: 2
Views: 717

Origin of Cardinal=Dword?

I was trying to find an alias for "dword" and from my Pascal experience the word "cardinal" comes to mind. The meaning of "dword" is very straight forward, double word or 4-bytes. Cardinal is a mathematical term but why was it chosen to represent a dword or 32-bit number?
by beethead
Tue May 26, 2020 3:56 pm
Forum: Programming
Topic: Building a Cartridge Header in 64tass, Confused
Replies: 15
Views: 2486

Re: Building a Cartridge Header in 64tass, Confused

.text "CRT TITLE"
.fill $0040 - *, $00 ; pad title with $00
That's interesting because I thought I was being innovative with my own assembler. This is my variation on the same directive/code.
.byte ("CRT TITLE") pad $40; for space padded ..pad $40($20) That pads after the text, use -$40 to pad ...
by beethead
Wed Dec 04, 2019 6:09 pm
Forum: Programming
Topic: Linker Resources
Replies: 6
Views: 1127

Re: Linker Resources

One part of the linking process that has me concerned is in regards to code/data being placed in zero or direct page. If the assembler generates object code using absolute addressing, by default, and then the linker comes along and places the code/data into zero or direct page, ideally the opcode ...
by beethead
Wed Dec 04, 2019 12:51 am
Forum: Programming
Topic: Linker Resources
Replies: 6
Views: 1127

Linker Resources

Most 65xx assemblers tend to be of the traditional multi pass variety writing a binary file in the last pass and then there are the handfull of linker types. Everyone has their own preference and my past experiences has been with the multi pass type but more recently I've been looking at the linker ...