Here you go. It's very similar to TMS1000 of course, except no chapter bit, PC goes to 127, and there are 9 bits instead of 8.
Code
rx=0
FOR page=0 TO 15 && 16 pages in each row
FOR pc=0 TO 127 && 128 rows = program counter
FOR bit=8 TO 0 STEP -1 && 9 bit ROM
IF page<8
rawbitindex=pc*144+bit*16+page
ELSE
rawbitindex=pc*144+bit*16+23-page
endif
rom[rx]=rom[rx]*2+rawbits[rawbitindex]
NEXT
rx=rx+1
next
NEXT