set licence to GPL, modified flashers to allow werify only last block written

This commit is contained in:
Jakub Husak
2020-05-19 21:38:58 +02:00
parent 74e522ba66
commit 594626a59e
4 changed files with 739 additions and 9 deletions
@@ -1,7 +1,23 @@
; flash eeprom library
; by JHusak , 04.01.2020
; free to use.
; JatariCart256 flasher
; by Jakub Husak , 04.01.2020
; All Rights Reserved.
;
; JatariCart256 is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; JatariCart256 is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with JatariCart256. If not, see <http://www.gnu.org/licenses/>.
;
icl '../../lib/atari.hea'
; uncomment when flashing all cart or want to check all blocks written so far.
;.def compareall
BankNum equ $88
Counter equ $89
operation equ $8a
@@ -157,8 +173,10 @@ _tbanknum equ * + 1
mva _tbanknum calccrc_bank
jsr CALCCRC_DEST
jsr status_crc
.ifdef compareall
dec _tbanknum
bpl @-
.endif
sta $D580
lda $d013
sta $3fa