Documentation for “Zerocat Chipflasher” as of Tue, 11 Feb 2025 14:22:26 +0100
Repository:
Version: v2.1.1-0-7ab6f93df
Branch: master

../../firmware2/src/txline_PASM.spin.terminal.html

Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.78
Compiling...
../../firmware2/src/txline_PASM.spin
|-ASCII.spin
|-linespec.spin
  |-blocksizes.spin
Done.
Program size is 1064 bytes

______________________________________________________________________________
********************************************************* File starts here ***
Zerocat Chipflasher --- Flash free firmware, kick the Management Engine.

Copyright (C) 2020, 2021, 2022, 2025  Kai Mertens 

File txline_PASM.spin --- PASM code. Print Motorola S-record or Hex-dump line to buffer.

This file is part of Zerocat Chipflasher.

See end of file for terms of use.

******************************************************************************


# Interface Description

Object "../../firmware2/src/txline_PASM" Interface:

PUB  start
PUB  print(tline, pdest, psrc, index, startaddr, cut, sinfo) : 
PUB  stop

Program:  262 Longs
Variable: 10 Longs


# Loaded Objects

* ASCII
* linespec


# Constants

# Func IDs
# _lineSREC
# _lineHEXD
# Shared


# Globals



# Functions

__________
PUB  start

 Launch PASM code in new cog.

_______________________________________________________________
PUB  print(tline, pdest, psrc, index, startaddr, cut, sinfo) : 

 tline == 0: Print one Motorola-S (binary payload) line into buffer.
 tline == 1: Print one hex-dump (binary payload) line into buffer. Parameter sinfo is ignored.

 Line ending is: CR, LF
 Returns number of bytes that have been written to pdest.


_________
PUB  stop

 Stop cog by ID.


# Data



******************************************************************************
Terms of Use:

Zerocat Chipflasher 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.

Zerocat Chipflasher 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 Zerocat Chipflasher.  If not, see <http://www.gnu.org/licenses/>.

************************************************************** End of File ***