Comments (8)
Is there anything after this line?
What is before that line?
That line by itself only sets the start address of anything after it. If there was something before any memory between that location and $3f00 should be filled with zeroes (is that what isn't happening?)
from c64studio.
from c64studio.
from c64studio.
Ah sorry, It's a bug in my Hexviewer (in Notepad++).
But for example
*=$2500+10
gives a file with size: 7 435 bytes ( $1D0B)
There's something weird going on..
from c64studio.
I think I've fixed it with commit fa8291a. Can you please try with the WIP build unter https://www.georg-rottensteiner.de/webmisc/C64StudioRelease.zip?
from c64studio.
Or actually sorry again. because of two labels, one from the original program and one from the data I think I'm wrong!
Because the first * is $0801 and last * is $250A the total size if just between these:
$250A - $0801 = 1D09 and adding the last lda#00 instruction => $1D0B
Sorry for the inconvenience!! Such a GREAT tool, especially when using it with my new cart Kung Fu Flash. I've added a "Download to C64" which works 100%.
Here's the example:
!to "sidasm.prg", cbm
!cpu 6510
!ct pet
;SIDLoad = $11c0 ; found in the 125th/126th byte of the PSID header (7C bytes in)
;!!!NOTE!!! this is a C64 load address and therefore in low/high order.
;SIDInit = $11c0 ; found in the 11th/12th byte of the PSID header (10 bytes in)
;SIDUpdate = $11e7 ; found in the 13th/14th byte of the PSID header (12 bytes in)
;PSIDHeaderSize = $7c ; v2 ie size found at the 8th byte of the PSID header (7 bytes in)
TrackIndex = 0 ; check 15th/16th byte to see how many tracks are
; in the file and hence how high you can
; make this value.
ZPProcessorPortDDR = $00
ProcessorPortDDRDefault = %101111
ZPProcessorPort = $01
ProcessorPortAllRAMWithIO = %100101
CIA1InterruptControl = $dc0d
CIA2InterruptControl = $dd0d
VIC2ScreenControlV = $d011
VIC2Raster = $d012
VIC2InteruptStatus = $d019
VIC2InteruptControl = $d01a
VIC2BorderColour = $d020
VIC2ScreenColour = $d021
VIC2Colour_White = 1
VIC2Colour_LBlue = $e
KERNALIRQServiceRoutineLo = $fffe
KERNALIRQServiceRoutineHi = $ffff
!macro AckRasterIRQ {
lda #1
sta VIC2InteruptStatus
}
!macro AckAllIRQs {
lda CIA1InterruptControl
lda CIA2InterruptControl
lda #$ff
sta VIC2InteruptStatus
}
*= $0801
!byte $0b,$08,$01,$00,$9e ; Line 1 SYS2061
!convtab pet
!tx "2061"
!byte $00,$00,$00
!zn
; EXTRA CODE HERE
!align 1, 0 ; wait for even address
SIDLoadAddr !word
SIDInitAddr !word
SIDUpdateAddr !word
*= $250A ;$1f00+2000 ;1530
StartOfSID
lda #00
from c64studio.
I think in that case the fix should help with that issue. Have you tried it?
Hint: The BASIC start line can be shortened to
- = $0801
!basic
!zn
from c64studio.
Thanks for the tip. I'll check that. Sorry to say, I have no known bug to test. Everything was User faults. But thanks to your quick support I've found my current bug. I'm trying to add SID player to Kung Fu Flash cartridge. Combination of C64 assembler and STM32 C code.
from c64studio.
Related Issues (20)
- Can't launch Vice, error parsing command line options HOT 1
- Quote key moves. HOT 4
- Solution / Project creation doesn't seem to match what was configured. HOT 2
- Solution node context menu offers rename project incorrectly HOT 1
- Right click to paint with background (clear pixels) HOT 2
- Cancel exits C64 Studio HOT 4
- Request: Show compiled memory as a pixel image HOT 1
- Charscreen reverse character behaviour HOT 7
- Charscreen reverse mode backspace clears in non-reverse. HOT 1
- Graphicscreen editor to show which colors are active in current charblock HOT 6
- Align value one off HOT 2
- Sprite Preview "Save as GIF" Produces Broken GIF HOT 2
- Huge settings.dat hangs editor while closing HOT 1
- Value table editor HOT 2
- Cannot type "\" in a BASIC #include directive HOT 2
- How to assembly 65816 in recent commits? HOT 2
- Automatic Renumber Off by Default HOT 2
- Const value not shown in 'Find all references' HOT 6
- Request: Screen editor zoom HOT 2
- Request: In screen editor, select colors for mouse buttons HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c64studio.